]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm, thp: drop page_table_lock to uncharge memcg pages
authorDavid Rientjes <rientjes@google.com>
Thu, 3 May 2012 05:43:50 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:30 +0000 (15:46 +1000)
commit240a82e2203217fc5a04721ef5bede9786519fc3
tree9e3a5817ea861da99d0c7f7f9de071d52a9db8e1
parent3cf30215e532a59deb9120405221e26f8a601bb1
mm, thp: drop page_table_lock to uncharge memcg pages

mm->page_table_lock is hotly contested for page fault tests and isn't
necessary to do mem_cgroup_uncharge_page() in do_huge_pmd_wp_page().

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c