diff options
| author | T.J. Alumbaugh <[email protected]> | 2023-01-18 00:18:27 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-02 22:33:28 -0800 |
| commit | abf086721a2f1e6897c57796f7268df1b194c750 (patch) | |
| tree | 680aa18af6eeca00882d8a3668b962ca67f9bb6f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | b5ff4133617d0eced35b685da0bd0929dd9fabb7 (diff) | |
mm: multi-gen LRU: simplify lru_gen_look_around()
Update the folio generation in place with or without
current->reclaim_state->mm_walk. The LRU lock is held for longer, if
mm_walk is NULL and the number of folios to update is more than
PAGEVEC_SIZE.
This causes a measurable regression from the LRU lock contention during a
microbencmark. But a tiny regression is not worth the complexity.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: T.J. Alumbaugh <[email protected]>
Cc: Yu Zhao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions