[PATCH v2 0/2] [SRU] [P/master] arm: Port OOM changes into do_page_fault

Paolo Pisati paolo.pisati at canonical.com
Thu May 3 08:53:51 UTC 2012


SRU JUSTIFICATION 
=================

EFFECT 
======

Reduce mmap_sem lock contention on arm while using java (see below)

FIX 
=== 

These patches reduce contention on the mmap_sem lock and seem to solve the

INFO: task foo:bar blocked for more than 120 seconds

scenario (and a subsequent deadlock frequently seen using java on arm -
see http://launchpad.net/bugs/845158).

TEST 
====

The commit has already been incorporated/tested in the hwe/armadaxp kernel and impacts
only the arm side of master, proposing for P/master (omap4 will get it via
rebase).
Moreover, a fix for original patch has been incorporated.

BugLink: http://launchpad.net/bugs/845158
BugLink: http://launchpad.net/bugs/951043

v2:
- noted in the first patch the URL of the armadaxp git tree
- added a subsequent fix to the first patch

Kautuk Consul (2):
  ARM: 7178/1: fault.c: Port OOM changes into do_page_fault
  ARM: 7368/1: fault.c: correct how the tsk->[maj|min]_flt gets
    incremented

 arch/arm/mm/fault.c |   58 ++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 39 insertions(+), 19 deletions(-)

-- 
1.7.9.5





More information about the kernel-team mailing list