> On Nov 27, 2017, at 7:13 PM, Jorgen Lundman <[email protected]> wrote:
> 
>> It would be interesting to see what the vmem arena backing that space_id_t 
>> resource looks like.
> 
> Yes, I agree - tell me how to do that :)

Use dtrace to find the address argument passed to `id_alloc()`, then go into 
`mdb -k` and run `<address>::walk vmem_seg | ::vmem_seg -s`.
That will return a list of segments allocated on the arena and most likely the 
span(s) that we are allocating from.



------------------------------------------
illumos-discuss
Archives: 
https://illumos.topicbox.com/groups/discuss/discussions/T1f149f6156a80f52-Mc66b6a5526301dea8799ff8d
Powered by Topicbox: https://topicbox.com

Reply via email to