Re: tools/cgroup/memcg_slabinfo.py is broken

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

 



On Wed, Feb 16, 2022 at 3:12 PM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
>
[...]
> > Here I'd keep _page (or _folio, if you want), because
> > it makes it clear that the function goes over all pages
> > (and is expensive therefore).
>
> But there's no intrinsic reason that it should.  If that's a
> performance problem, you could keep slabs on a separate list
> from, eg, file or anon memory.
>

Is there enough space in the struct slab for that list or do you mean
something different?




[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