traversing vma on nommu

Hajime Tazaki thehajime at gmail.com
Thu Nov 7 16:39:52 PST 2024


On Thu, 07 Nov 2024 21:13:38 +0900,
Liam R. Howlett wrote:

> The maple tree changes the type based on arch as it is defined as
> unsigned long and void * pointers.

I understand.

> Your output had nodes that looked 32bit:
> 0-ffffffffffffffff: node 00000000deda9c22 depth 0 type 1 parent 0000000053daa24c contents: 0000000000000000 60A3FFFF 00000000d37ec2dc 60A5FFFF 0000000000000000 60BF5FFF 00000000f4feff70 60BF7FFF 0000000000000000 60CFFFFF 000000000d0953c6 60DEFFFF 0000000000000000 60DFFFFF 00000000c4c98641 60EA2FFF 0000000000000000 FFFFFFFFFFFFFFFF 0000000000000000 0 0000000000000000 0 0000000000000000 0 0000000000000000 0 0000000000000000 0 0000000000000000 0 000000000a432378
>   0-60a3ffff: 0000000000000000
>   60a40000-60a5ffff: 00000000d37ec2dc
>   60a60000-60bf5fff: 0000000000000000
>   60bf6000-60bf7fff: 00000000f4feff70
>   60bf8000-60cfffff: 0000000000000000
>   60d00000-60deffff: 000000000d0953c6
>   60df0000-60dfffff: 0000000000000000
>   60e00000-60ea2fff: 00000000c4c98641
>   60ea3000-ffffffffffffffff: 0000000000000000
> 
> But looking again, the range is 64b, it's just that the addresses are
> much lower than I'm used to seeing in dumps.

ah, I see.  it makes sense to me.

thanks,
-- Hajime




More information about the maple-tree mailing list