[Devel] [PATCH hci-8.1 3/3] selftests: cgroup: populate the inactive file with read faults
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Fri Nov 13 07:28:51 MSK 2026
> memory.numa_migrate migrates asynchronously, so it skips the folios that
> are under writeback or locked for it when it gets to them. The
> inactive_disk_file variant dirties 1 GiB of a disk file with write
> faults, and writeback of that file is still running when the test
> migrates it, so part of the file can stay on the source node.
>
> Populate that file with read faults instead. The file is a hole, so its
> page cache stays clean and nothing is written back. disk_file keeps
> writing to its pages while they are migrated and is left as is.
>
> Fixes: 3842964f4497 ("selftests: cgroup: test numa migration of lruvecs")
> https://virtuozzo.atlassian.net/browse/VSTOR-154520
> Feature: fix selftests
>
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261113042331.517488-1-eva.kurchatova@virtuozzo.com?part=3
More information about the Devel
mailing list