]> 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>
Mon, 8 Oct 2012 02:59:57 +0000 (13:59 +1100)
commitebe3ddc5ea680d0ca1eee1ac556a0e31e179a47c
tree4e9e96843165565f520fa42b8099be6bc9fd4c0d
parentc5a4152c856c26e8d6bf7e023000a02fc285ae67
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