Re: [PATCH] mm: memcontrol: asynchronous reclaim for memory.high
From: Tejun Heo
Date: Thu Feb 20 2020 - 13:45:50 EST
Hello,
On Thu, Feb 20, 2020 at 01:23:26PM -0500, Daniel Jordan wrote:
> The amount of work wouldn't seem to matter as long as the kernel thread stays
> in the cgroup and lives long enough. There's only the one-time cost of
> attaching it when it's forked. That seems doable for unbound workqueues (the
> async reclaim), but may not be for the network packets.
The setup cost can be lazy optimized but it'd still have to bounce the
tiny pieces of work to different threads instead of processing them in
one fell swoop from the same context, which most likely is gonna be
untenably expensive.
Thanks.
--
tejun