Re: [PATCH resend] memcg: introduce per-memcg reclaim interface

From: Michal Hocko
Date: Fri Apr 01 2022 - 09:49:30 EST


On Thu 31-03-22 10:25:23, Roman Gushchin wrote:
> On Thu, Mar 31, 2022 at 08:41:51AM +0000, Yosry Ahmed wrote:
[...]
> > - A similar per-node interface can also be added to support proactive
> > reclaim and reclaim-based demotion in systems without memcg.
>
> Maybe an option to specify a timeout? That might simplify the userspace part.

What do you mean by timeout here? Isn't
timeout $N echo $RECLAIM > ....

enough?
--
Michal Hocko
SUSE Labs