diff options
| author | Miaohe Lin <[email protected]> | 2021-05-04 18:33:43 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-05-05 11:27:20 -0700 |
| commit | 28ff0a3c421ca19f4c8b41f736ff388fd588e1a1 (patch) | |
| tree | 8bcb0271cd326f98310c9b17138bfbad84c6f7b5 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 588d01f918d42d2d453d8cd5af6bf2c2e1072a47 (diff) | |
khugepaged: use helper khugepaged_test_exit() in __khugepaged_enter()
Commit 4d45e75a9955 ("mm: remove the now-unnecessary mmget_still_valid()
hack") have made khugepaged_test_exit() suitable for check mm->mm_users
against 0. Use this helper here.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Ebru Akagunduz <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions