diff options
| author | Andrew Yang <[email protected]> | 2023-06-30 17:22:02 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 10:12:11 -0700 |
| commit | 8a144612eb8a31b94ecb2d340d07588ac115e819 (patch) | |
| tree | c843fbf6cd2a0b8eb4ba19ea9f5af9c7c1a5ce21 /tools/perf/scripts/python | |
| parent | 86327e8eb94c52eca4f93cfece2e29d1bf52acbf (diff) | |
fs: drop_caches: draining pages before dropping caches
We expect a file page access after dropping caches should be a major
fault, but sometimes it's still a minor fault. That's because a file page
can't be dropped if it's in a per-cpu pagevec. Draining all pages from
per-cpu pagevec to lru list before trying to drop caches.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Andrew Yang <[email protected]>
Cc: Al Viro <[email protected]>
Cc: AngeloGioacchino Del Regno <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Matthias Brugger <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions