On Wed, Nov 10, 2021 at 4:08 PM Shakeel Butt <shakeelb@xxxxxxxxxx> wrote: > > On Wed, Nov 10, 2021 at 3:01 PM Mina Almasry <almasrymina@xxxxxxxxxx> wrote: > > > [...] > > > > +struct hugetlb_cgroup_per_node { > > + /* hugetlb usage in pages over all hstates. */ > > + unsigned long usage[HUGE_MAX_HSTATE]; > > +}; > > + > > You missed my other question. Why do you think concurrent access to > this struct is safe? Oh, very sorry. I'll upload another iteration with a fix!