diff options
| author | Kinsey Ho <[email protected]> | 2024-02-14 06:05:36 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-22 10:24:58 -0800 |
| commit | 2d823764fafa6593a87d3192c62e19eec4883d84 (patch) | |
| tree | 4fdad5b60450a7854cc131b78ad680b67932f47e /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 51973cc9e53899e50e47c1e4c2967c3021cb6257 (diff) | |
mm/mglru: improve reset_mm_stats()
struct lruvec* is already a field of struct lru_gen_mm_walk. Remove the
parameter struct lruvec* into functions that already have access to struct
lru_gen_mm_walk*.
Also, we do not need to handle reset histogram stats when
!should_walk_mmu(). Remove the call to reset_mm_stats() in
iterate_mm_list_nowalk().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kinsey Ho <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Donet Tom <[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