]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: remove unnecessary khugepaged_thread check
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Wed, 26 Sep 2012 01:33:22 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:25:54 +0000 (17:25 +1000)
commit5d6a7a069deadf0456f4d7db54d23cbeeba06229
tree1d5ebfa60d0f4bea91955c6446301eb07648c27d
parente3d1ead83b1809050e824e5f1dfe97030f685bd2
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