On Fri, Mar 20, 2026 at 04:42:40PM -0400, Waiman Long wrote: > Near the end of test_memcg_protection(), reclaim_until() is called > to reduce memory.current of children[0] to 10M. It was found that > with larger page size (e.g. 64k) the various memory cgroups in > test_memcg_protection() would deviate further from the expected values > especially for the test_memcg_low test. As a result, children[0] might > have reached the target already without reclamation. The will cause the > reclaim_until() function to report failure as no reclamation is needed. > > Avoid this unexpected failure by skipping the reclaim_until() call if > memory.current of children[0] has already reached the target size for > kernel with non-4k page size. > > Signed-off-by: Waiman Long <[email protected]>
Reviewed-by: Li Wang <[email protected]> -- Regards, Li Wang

