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