Messages in this thread | | | From | Mina Almasry <> | Date | Wed, 10 Nov 2021 16:30:30 -0800 | Subject | Re: [PATCH v5] hugetlb: Add hugetlb.*.numa_stat file |
| |
On Wed, Nov 10, 2021 at 4:08 PM Shakeel Butt <shakeelb@google.com> wrote: > > On Wed, Nov 10, 2021 at 3:01 PM Mina Almasry <almasrymina@google.com> 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!
| |