diff options
author | Kirill A. Shutemov <[email protected]> | 2015-04-15 16:14:56 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-04-15 16:35:19 -0700 |
commit | 79553da293d38d63097278de13e28a3b371f43c1 (patch) | |
tree | 2b259efd74662ef3d6aed55f86f6490a3e98207b /tools/perf/scripts/python/netdev-times.py | |
parent | e39155ea11eac6da056b04669d7c9fc612e2065a (diff) |
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 <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions