commit | 17c230afa58a6d013a4949d5c04b823a281d40fa | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | Mon Oct 08 16:29:56 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 09 16:22:28 2012 +0900 |
tree | 1e65372823340b6acebb6b9be26a68ba430bcff0 | |
parent | b7231789b0224e73af4efc7973f8bcf17fc16edd [diff] |
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>