Re: [PATCH v6 2/2] mm, memcg: cg2 memory{.swap,}.peak write tests

2024-07-30 Thread David Finkel
Thanks for checking! On Tue, Jul 30, 2024 at 11:46 AM Michal Koutný wrote: > > Hello. > > On Mon, Jul 29, 2024 at 10:37:43AM GMT, David Finkel wrote: > > Extend two existing tests to cover extracting memory usage through the > > newly mutable memory.peak and memory.swap.peak handlers. > > BTW do

Re: [PATCH v6 2/2] mm, memcg: cg2 memory{.swap,}.peak write tests

2024-07-30 Thread Michal Koutný
Hello. On Mon, Jul 29, 2024 at 10:37:43AM GMT, David Finkel wrote: > Extend two existing tests to cover extracting memory usage through the > newly mutable memory.peak and memory.swap.peak handlers. BTW do the tests pass for you? I gave it a try (v6.11-rc1+your patches) $ grep "not ok 2" -B30

[PATCH v6 2/2] mm, memcg: cg2 memory{.swap,}.peak write tests

2024-07-29 Thread David Finkel
Extend two existing tests to cover extracting memory usage through the newly mutable memory.peak and memory.swap.peak handlers. In particular, make sure to exercise adding and removing watchers with overlapping lifetimes so the less-trivial logic gets tested. Signed-off-by: David Finkel --- too