Re: [PATCH 2/2] mm: Consider subtrees in memory.events

Tejun Heo
2019-01-28T14:54:14Z

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