Kirill A. Shutemov 79553da293 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>
2015-04-15 16:35:19 -07:00
..
2015-04-14 16:49:00 -07:00
2015-04-14 16:49:00 -07:00
2015-02-16 17:56:03 -08:00
2015-04-15 16:35:18 -07:00
2015-04-15 16:35:19 -07:00
2015-04-14 16:49:00 -07:00
2015-04-15 16:35:18 -07:00
2015-02-16 17:56:03 -08:00
2015-04-14 16:49:06 -07:00
2015-04-15 16:35:19 -07:00
2015-02-11 17:06:02 -08:00
2015-03-12 18:46:08 -07:00
2015-04-15 16:35:16 -07:00
2015-03-25 20:28:11 -04:00
2015-03-24 13:41:54 -04:00
2015-04-15 16:35:18 -07:00
2015-04-11 22:24:41 -04:00
2015-04-14 16:49:03 -07:00
2015-04-15 16:35:18 -07:00
2015-02-12 18:54:12 -08:00