]> git.kernelconcepts.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>
Wed, 3 Oct 2012 06:46:47 +0000 (16:46 +1000)
commit438c72f8bef1ba626b450105c5756c4e48e18893
tree4960c77d39f6686eda4397abe1603984e4f6efec
parentf76a1b0029ec77776339d2a2ab453b916875e1c3
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