aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorJames Houghton <[email protected]>2025-05-08 18:46:48 +0000
committerSean Christopherson <[email protected]>2025-05-16 19:58:21 +0000
commitd166453ebd2925edde24872d9b8ac60065eb0618 (patch)
tree6e14626b7c7392d8830dda7e18c4362e437e4c2c /rust/helpers/mutex.c
parentKVM: selftests: Build and link selftests/cgroup/lib into KVM selftests (diff)
downloadkernel-d166453ebd2925edde24872d9b8ac60065eb0618.tar.gz
kernel-d166453ebd2925edde24872d9b8ac60065eb0618.zip
KVM: selftests: access_tracking_perf_test: Use MGLRU for access tracking
Use MGLRU's debugfs interface to do access tracking instead of page_idle. The logic to use the page_idle bitmap is left in, as it is useful for kernels that do not have MGLRU built in. When MGLRU is enabled, page_idle will report pages as still idle even after being accessed, as MGLRU doesn't necessarily clear the Idle folio flag when accessing an idle page, so the test will not attempt to use page_idle if MGLRU is enabled but otherwise not usable. Aging pages with MGLRU is much faster than marking pages as idle with page_idle. Co-developed-by: Axel Rasmussen <[email protected]> Signed-off-by: Axel Rasmussen <[email protected]> Signed-off-by: James Houghton <[email protected]> Link: https://lore.kernel.org/r/[email protected] [sean: print parsed features, not raw string] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions