----- Original Message -----
Hello Dave,
Please check this patch. It is used for slub to display slabs in
kmem_cache_cpu.partial list.
I can only get it test on RHEL7.0GA right now. Would you please
help get some other test? Thanks a lot.
Hello Qiao,
The patch seems to handle older and new kernel versions with CONFIG_SLUB,
although I don't have many dumpfiles that actually have any slabs queued
in the per-cpu PARTIAL lists. But the ones that do, show them OK.
One question I have is why the "KMEM_CACHE_CPU" output has a separate
"CPU" column:
CACHE NAME OBJSIZE ALLOCATED TOTAL SLABS SSIZE
ffff8800370b2500 tw_sock_TCPv6 200 0 0 0 8k
KMEM_CACHE_CPU CPU
ffff88021fc18890 0
CPU 0 SLAB:
(empty)
CPU 0 PARTIAL:
(empty)
KMEM_CACHE_CPU CPU
ffff88021fc58890 1
CPU 1 SLAB:
(empty)
CPU 1 PARTIAL:
(empty)
KMEM_CACHE_CPU CPU
ffff88021fc98890 2
CPU 2 SLAB:
(empty)
CPU 2 PARTIAL:
(empty)
...
Why not display it like all of the other per-cpu items, e.g.,
showing something like this:
CACHE NAME OBJSIZE ALLOCATED TOTAL SLABS SSIZE
ffff8800370b2500 tw_sock_TCPv6 200 0 0 0 8k
CPU 0 KMEM_CACHE_CPU
ffff88021fc18890
CPU 0 SLAB:
(empty)
CPU 0 PARTIAL:
(empty)
CPU 1 KMEM_CACHE_CPU
ffff88021fc58890
CPU 1 SLAB:
(empty)
CPU 1 PARTIAL:
(empty)
CPU 2 KMEM_CACHE_CPU
ffff88021fc98890
CPU 2 SLAB:
(empty)
CPU 2 PARTIAL:
(empty)
Thanks,
Dave