diff options
| author | Miaohe Lin <[email protected]> | 2021-05-04 18:37:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-05-05 11:27:24 -0700 |
| commit | 3e96b6a2e9ad929a3230a22f4d64a74671a0720b (patch) | |
| tree | 855d56c528bc6166cef1dc7eb08997d72db4753a /tools/perf/scripts/python/stackcollapse.py | |
| parent | a08e1e11c90f3e6020963b3ad097680768bc8567 (diff) | |
ksm: use GET_KSM_PAGE_NOLOCK to get ksm page in remove_rmap_item_from_tree()
It's unnecessary to lock the page when get ksm page if we're going to
remove the rmap item as page migration is irrelevant in this case. Use
GET_KSM_PAGE_NOLOCK instead to save some page lock cycles.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions