Re: [PATCH RFC] fs: drop_caches: introduce per-node drop_caches interface

Michal Hocko
2026-04-09T08:22:23Z

On Thu 09-04-26 16:08:37, Kefeng Wang wrote:
[...]
> To use the reclaim interface, there are two differences,
>
> 1) we need to input the reclaim numbers and swappiness, this is not a big
> problem
> 2) for reclaim, it supports swappiness=max to only reclaim anonymous pages,
> but cannot only reclaim file pages,

Why is 2) a real constrain?

--
Michal Hocko
SUSE Labs