]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: remove unnecessary khugepaged_thread check
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Fri, 28 Sep 2012 00:19:16 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Oct 2012 04:00:51 +0000 (14:00 +1000)
commit30aff5c2db4c0833d79837cdad87d1afb4d124b1
tree59ef5b5865ed0bfea60ade6151d88c563c597ed2
parent45d6b355f305bb07c519d6dfcfb8f3f4beb23781
thp: remove unnecessary khugepaged_thread check

Now, khugepaged creation and cancel are completely serial under the
protection of khugepaged_mutex, it is impossible that many khugepaged
entities are running

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c