diff options
| author | xu xin <xu.xin16@zte.com.cn> | 2026-07-09 17:33:12 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-08-04 19:18:46 -0700 |
| commit | 0471cade0a272803d192cbd8d8523e93e429ff1d (patch) | |
| tree | e8d32f3d6889411175a4dfdb58b3750851878e09 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 887311e5cd67566a21ac8c70b9545bcc449714a8 (diff) | |
ksm: use precise linear_page_index instead of the whole address space
Since we now have linear_page_index available that we can use here,
allowing for optimizing the RMAP walk, we can also use it to locate more
precisely all related-processes when error hits the KSM page, which will
decrease a lot of invalid iterations.
Link: https://lore.kernel.org/20260709173312403qgj1Af6pRkFMDSsmc19sM@zte.com.cn
Signed-off-by: xu xin <xu.xin16@zte.com.cn>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Cc: Chengming Zhou <chengming.zhou@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
