diff options
author | 2012-10-08 16:29:56 -0700 | |
---|---|---|
committer | 2012-10-09 16:22:28 +0900 | |
commit | 17c230afa58a6d013a4949d5c04b823a281d40fa (patch) | |
tree | 1e65372823340b6acebb6b9be26a68ba430bcff0 /mm/pgtable-generic.c | |
parent | thp: remove khugepaged_loop (diff) | |
download | linux-dev-17c230afa58a6d013a4949d5c04b823a281d40fa.tar.xz linux-dev-17c230afa58a6d013a4949d5c04b823a281d40fa.zip |
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>
Diffstat (limited to 'mm/pgtable-generic.c')
0 files changed, 0 insertions, 0 deletions