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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility
Contribution Guidelines: https://github.com/crash-utility/crash/wiki




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux