[Crash-utility] [PATCH v4 0/4] Fix kmem failing to print task context

Tao Liu ltao at redhat.com
Mon Sep 19 09:49:20 UTC 2022


This patchset deals with a few kmem failing to output task context
issues.

For CONFIG_VMAP_STACK enabled:
patch 1 deals with "kmem <virtual_address>" when vaddr is
        vmalloced stack.
patch 3 deals with "kmem <physical_address>" when vaddr is
        vmalloced stack and paddr is converted from the vaddr.
patch 2 is needed by patch 3, it will convert the correct
        physical address to virtual address.

For CONFIG_VMAP_STACK not enabled:
patch 4 deals with "kmem <physical_address>", letting it have
        the same output as "kmem <virtual_address>", when paddr
        is converted from vaddr.

v2 -> v3: Add the kmem <physical_address> case.
v3 -> v4: Add patch 4 case.

v1: https://listman.redhat.com/archives/crash-utility/2022-August/010061.html
v2: https://listman.redhat.com/archives/crash-utility/2022-August/010074.html
v3: https://listman.redhat.com/archives/crash-utility/2022-September/010114.html

Tao Liu (4):
  Fix kmem failing to print task context when address is vmalloced stack
  Fix page offset issue when converting physical to virtual address
  Let kmem print task context when physical address is vmalloced stack
  Let kmem print task context with physical address

 memory.c | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

-- 
2.33.1



More information about the Crash-utility mailing list