diff options
| author | David Stevens <[email protected]> | 2023-04-04 21:01:15 +0900 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-18 16:29:52 -0700 |
| commit | cae106dd67b99a65d117a9f6c977a86b120dad61 (patch) | |
| tree | 952432ff85a1c19ab3067a63e972ce1edd32c8da /tools/perf/scripts/python/check-perf-trace.py | |
| parent | efa3d814fad151ed5209539ecc1fc2880f7680b2 (diff) | |
mm/khugepaged: refactor collapse_file control flow
Add a rollback label to deal with failure, instead of continuously
checking for RESULT_SUCCESS, to make it easier to add more failure cases.
The refactoring also allows the collapse_file tracepoint to include hpage
on success (instead of NULL).
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Stevens <[email protected]>
Acked-by: Peter Xu <[email protected]>
Reviewed-by: Yang Shi <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Jiaqi Yan <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions