Any address above the first 4gb would be fine. At this point, it’s a bit like 
Avogadro’s number: when I see it, I know instantaneously which heap it came 
from.

If e.g. clib_mem_is_heap_object(...) ASSERTs on such an address, I know that 
some bit of code forgot “clib_mem_set_heap(...),” and so on.

D.


From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of wylandrea
Sent: Friday, September 21, 2018 6:54 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] How vpp choose the default base va 0x130000000ULL

Hi all,

In function svm_get_global_region_base_va it use the fixed addr 0x130000000ULL, 
just curious why to choose that addr? why it's not another address, like 
0x230000000ULL ?

Thanks!

/Yalei
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10599): https://lists.fd.io/g/vpp-dev/message/10599
Mute This Topic: https://lists.fd.io/mt/25840997/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to