To: Theodore Tso <tytso@...>, Andi Kleen <andi@...>, Christoph Lameter <clameter@...>, Willy Tarreau <w@...>, Steven Rostedt <rostedt@...>, Linus Torvalds <torvalds@...>, Ingo Molnar <mingo@...>, Peter Zijlstra <a.p.zijlstra@...>, LKML <linux-kernel@...>, Andrew Morton <akpm@...>, Christoph Hellwig <hch@...>, Rafael J. Wysocki <rjw@...>
> Yeah, unfortunately, querying to find out how much memory is being
slabinfo is about querying kernel internals and requiring stable
and permanent interfaces to that would imply freezing the kernel
internals.
People who want to have information about slabs and other similar
kernel internal allocations will always have to deal with version
dependencies.
No way around that.
That would require at least never changing any slab caches in any
subsystem. Obviously not an option.
-Andi
--