Re: [PATCH 2/2] mm: Consider subtrees in memory.events
From: Tejun Heo
Date: Mon Jan 28 2019 - 09:54:14 EST
Hello,
On Mon, Jan 28, 2019 at 03:52:10PM +0100, Michal Hocko wrote:
> > All .events files generate aggregated stateful notifications. For
> > anyone to do anything, they'd have to remember the previous state to
> > identify what actually happened. Being hierarchical, it'd of course
> > need to walk down when an event triggers.
>
> And how do you do that in a raceless fashion?
Hmm... I'm having trouble imagining why this would be a problem. How
would it race?
Thanks.
--
tejun