diff options
author | Hugh Dickins <[email protected]> | 2018-11-30 14:10:39 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-11-30 14:56:15 -0800 |
commit | 042a30824871fa3149b0127009074b75cc25863c (patch) | |
tree | 5f229dd8bdfcb6367256eef81aa1fadfa9d71ca5 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2af8ff291848cc4b1cce24b6c943394eb2c761e8 (diff) |
mm/khugepaged: minor reorderings in collapse_shmem()
Several cleanups in collapse_shmem(): most of which probably do not
really matter, beyond doing things in a more familiar and reassuring
order. Simplify the failure gotos in the main loop, and on success
update stats while interrupts still disabled from the last iteration.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: f3f0e1d2150b2 ("khugepaged: add support of collapse for tmpfs/shmem pages")
Signed-off-by: Hugh Dickins <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Jerome Glisse <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: <[email protected]> [4.8+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions