[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6daf88a2-84c2-5ba4-853c-c38cca4a03cb@linux.com>
Date: Thu, 22 Feb 2024 19:02:58 -0800 (PST)
From: "Christoph Lameter (Ampere)" <cl@...ux.com>
To: Chengming Zhou <chengming.zhou@...ux.dev>
cc: Vlastimil Babka <vbabka@...e.cz>, David Rientjes <rientjes@...gle.com>,
Jianfeng Wang <jianfeng.w.wang@...cle.com>, penberg@...nel.org,
iamjoonsoo.kim@....com, akpm@...ux-foundation.org,
roman.gushchin@...ux.dev, 42.hyeyoo@...il.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Chengming Zhou <zhouchengming@...edance.com>
Subject: Re: [PATCH] slub: avoid scanning all partial slabs in
get_slabinfo()
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.
Powered by blists - more mailing lists