]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: use khugepaged_enabled to remove duplicate code
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Fri, 28 Sep 2012 00:19:19 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:16 +0000 (15:03 +1000)
commit32d962ca11ba19143c2dcbd0bcd115dc45c1e407
tree3ee8a3401503c74253647f49acb85a1fdd85b65e
parent5176d030d465008e1d64628929a8437ad0456464
thp: use khugepaged_enabled to remove duplicate code

Use khugepaged_enabled to see whether thp is enabled

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