On Tue 07-08-18 13:19:26, Florian Westphal wrote: > Michal Hocko <mhocko@xxxxxxxxxx> wrote: > > > I can't reproduce it anymore. > > > If i understand correctly this way memory allocated will be > > > accounted to kmem of this cgroup (if inside cgroup). > > > > s@this@caller's@ > > > > Florian, is this patch acceptable > > I am no mm expert. Should all longlived GFP_KERNEL allocations set ACCOUNT? No. We should focus only on those that are under direct userspace control and it can be triggered by an untrusted user. > If so, there are more places that should get same treatment. > The change looks fine to me, but again, I don't know when ACCOUNT should > be set in the first place. see above. -- Michal Hocko SUSE Labs