Hi all,
Recently I found an slub related problem(kmalloc-1024 objects eat tons of memory):
# ./slabinfo -l | grep "t-0001024"
:t-0001024 46448117 1024 47.5G 4074/505/11608097 4 0 0 99 *
Then I make the memroy coredump trying to find out why, it seems something wrong with
the slub's cpu_slab(kmem_cache_cpu) list. But as I want to walk through the page list
like following, crash seems can't identify:
crash> struct page.next,pages,pobjects 0xffffea0049e85140
next = 0xffffea0014533c40
pages = 13511054
pobjects = -545576266
crash> list page.next 0xffffea0049e85140
list: invalid argument: page.next
While my usage case is similar to the case in the 'help list' man page:
crash> p file_systems
file_systems = $1 = (struct file_system_type *) 0xc03adc90
crash> list file_system_type.next -s file_system_type.name,fs_flags c03adc90
So what is wrong, is there a way that I can walk through the page list?
thanks in advance~
linfeng