Re: [PATCH linux-next v3] swap_state: update shadow_nodes for anonymous page
From: yang.yang29
Date: Mon Jan 16 2023 - 20:29:00 EST
> What testing did you do of this? I have this crash in today's testing:
My test is this:
1.Configure zram for swap.
2.Run some program malloc and access large memory, make sure they
can cause swap.
3.Watch count_shadow_nodes() and shadow_lru_isolate() to make sure
that shadow_nodes are really shrinking by adding printk().
Really sorry for inadequate test, I will try more tests include drop_caches
by sysctl.