Re: [PATCH v5] hugetlb: Add hugetlb.*.numa_stat file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux