Bug 2170286 - crash tool supports parsing the maple tree data structures and functions
Summary: crash tool supports parsing the maple tree data structures and functions
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: crash
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: ltao
QA Contact: xiaoying yan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-16 02:50 UTC by lijiang
Modified: 2023-08-15 07:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-148799 0 None None None 2023-02-16 02:52:53 UTC

Description lijiang 2023-02-16 02:50:55 UTC
Description of problem:

The maple tree is introduced into upstream kernel 6.1:
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=524e00b36e8c547f5582eef3fb645a8d9fc5e3df
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=763ecb035029f500d7e6dc99acd1ad299b7726a1
    
Crash tool needs to support parsing the vmcore with a maple tree feature, otherwise some crash commands may not work, such as vm and fuser.

In ddition, the tree command can also dump the maple tree information.

Related crash patches:

872cad2d63b3 ("Port the maple tree data structures and functions")
16a696762cbf ("Add maple tree support to "tree" command")
222176a0a6c1 ("Add do_maple_tree() for maple tree operations")
9efc1f68a44f ("Introduce maple tree vma iteration to vm_area_dump()")
49f6c2095d82 ("Update the help text of "tree" command for maple tree")
46344aa2f92b ("Dump maple tree offset variables by "help -o"")



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 ltao 2023-05-31 01:41:52 UTC
We will defer the bz to rhel9.4 due to https://bugzilla.redhat.com/show_bug.cgi?id=2166668#c31.


Note You need to log in before you can comment on or make changes to this bug.