]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: remove unnecessary check in start_khugepaged
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>
Thu, 4 Oct 2012 05:03:15 +0000 (15:03 +1000)
commitd9429f1e8dafc294a187ea008db8c99a9c34a60e
tree4924ea4c53c049504eb0cc8b9eb4d577624ab63b
parentb51b0c326285a239ece544f19991cfe970f828d2
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