Re: [External] Re: [PATCH] mm: memcontrol: fix kernel stack account

From: Shakeel Butt
Date: Tue Mar 02 2021 - 11:40:09 EST


On Tue, Mar 2, 2021 at 1:34 AM Michal Hocko <mhocko@xxxxxxxx> wrote:
>
[snip]
> > Yeah, imprecision may
> > not be a problem. But if this is what we did deliberately, I think that
> > it is better to add a comment there. Thanks.
>
> Yes the comment is quite confusing. I suspect it meant to say
> /* All stack pages are accounted to the same node */
>

Most probably I meant to say "For simplicity let's just assume all
stack pages are on the same node." but we can easily make this more
accurate.