Re: [PATCH] mm/slub: Make __ksize() faster

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

 



On Thu, Mar 07, 2024 at 10:13:22PM -0500, Kent Overstreet wrote:
> This steals it to make __ksize() faster; it's now a single dependent
> load, instead of two. This is going to be important for tracking the
> amount of memory stranded by RCU, which we want to be able to do if
> we're going to be freeing all pagecache folios (and perhaps all folios)
> via RCU.

Do you have any measurements?  I don't necessarily object, it's just
that I would have thought we were already bringing slab->slab_cache
into cache as part of the freeing operation.





[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