Re: + mm-slub-introduce-two-counters-for-partial-objects.patch added to -mm tree

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

 



On 3/15/21 3:19 PM, Christoph Lameter wrote:
> On Sat, 13 Mar 2021, Xunlei Pang wrote:
> 
>> > Or we can simply remove the ability to retrieve the number of partial
>> > objects from sysfs?
>> >
>>
>> Not only sysfs, /proc/slabinfo is another user to calculate the
>> "active_objs", I'm afraid it's hard to change the ABI of this
>> commonly-used interface.
> 
> Well the field is there but is is used for any real purpose?

Well, some people would like to know how many objects are allocated.
But this patch series won't help them either, as besides the per-node partial
list, we have per-cpu slabs and per-cpu partial lists, and they all show up as
active in slabinfo, IIRC.

But let's move the discussion to the original patch posting thread on linux-mm,
not this mm-commits notification.

> Could potentially be replaced by the total objects possible in the slab
> cache.





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux