[Crash-utility] [PATCH 0/5] new options for memory debug commands
Dave Anderson
anderson at redhat.com
Thu Feb 5 21:24:42 UTC 2015
Hello Yu,
I am going to defer the review/testing of this patchset until after crash-7.1.0
has been released, which I hopefully will get done tomorrow.
Thanks,
Dave
----- Original Message -----
> search:
> -f struct-page.flags-mask
> When searching kernel memory, crash walks through all identity
> mapping space which includes all physical memory. Nowadays we
> have machines that equipped with more than 256G memory, it takes
> a long time to go through all pages, especially most of them
> are used by user space programs (e.g. LRU pages). This option
> allows us to skip pages with certain struct page flags.
> -g
> Allow us to skip whole compound pages instead of only skipping
> head pages when using -f, because some flags are only set to
> head pages which tails pages share same properties with their
> head pages.
>
> kmem:
> -k
> Verify compound page order. Useful when debugging memory leak
> caused by freeing compound pages with wrong order.
>
> -r
> Only print used pages (i.e. the page count is not zero). Makes
> the output smaller (and faster to grep/vim/emacs).
>
> Yu Zhao (5):
> memory: better compound page support
> memory: struct page.flags based filter
> memory: skip compound pages when using search filter
> memory: display and verify compound page order
> memory: kmem option to skip free pages
>
> defs.h | 4 +
> help.c | 24 +++-
> memory.c | 418
> ++++++++++++++++++++++++++++++++++++++++++++++++---------------
> 3 files changed, 345 insertions(+), 101 deletions(-)
>
> --
> 2.2.0.rc0.207.ga3a616c
>
>
More information about the Crash-utility
mailing list