summaryrefslogtreecommitdiffstats
path: root/mm/cma_debug.c
diff options
context:
space:
mode:
authorKirill A. Shutemov2015-04-16 01:14:56 +0200
committerLinus Torvalds2015-04-16 01:35:19 +0200
commit79553da293d38d63097278de13e28a3b371f43c1 (patch)
tree2b259efd74662ef3d6aed55f86f6490a3e98207b /mm/cma_debug.c
parentmm: uninline and cleanup page-mapping related helpers (diff)
downloadkernel-qcow2-linux-79553da293d38d63097278de13e28a3b371f43c1.tar.gz
kernel-qcow2-linux-79553da293d38d63097278de13e28a3b371f43c1.tar.xz
kernel-qcow2-linux-79553da293d38d63097278de13e28a3b371f43c1.zip
thp: cleanup khugepaged startup
Few trivial cleanups: - no need to call set_recommended_min_free_kbytes() from late_initcall() -- start_khugepaged() calls it; - no need to call set_recommended_min_free_kbytes() from start_khugepaged() if khugepaged is not started; - there isn't much point in running start_khugepaged() if we've just set transparent_hugepage_flags to zero; - start_khugepaged() is misnamed -- it also used to stop the thread; Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: David Rientjes <rientjes@google.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/cma_debug.c')
0 files changed, 0 insertions, 0 deletions