]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
thp: remove unnecessary check in start_khugepaged
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Thu, 13 Sep 2012 00:58:38 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Sep 2012 07:27:50 +0000 (17:27 +1000)
commit47bee53f1f8057f0b99f7ec2eaae3115b1f4db9d
treece0cecb0e14556af5cd868f1e4e7bbb0a73c6fc7
parentd4e1aa2d5811c11235e90f34f3b8048db65289a1
thp: remove unnecessary check in start_khugepaged

The check is unnecessary since if mm_slot_cache or mm_slots_hash
initialize failed, no sysfs interface will be created

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