Re: [PATCH] slub: avoid scanning all partial slabs in get_slabinfo()

From: Christoph Lameter (Ampere)
Date: Thu Feb 22 2024 - 22:11:59 EST


On Thu, 22 Feb 2024, Chengming Zhou wrote:

Anyway, I put the code below for discussion...

Can we guestimate the free objects based on the number of partial slabs. That number is available.

How accurate need the accounting be? We also have fuzzy accounting in the VM counters.