We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cde1769 commit 1ef3874Copy full SHA for 1ef3874
src/svm/svm.c
@@ -60,10 +60,6 @@ svm_get_root_rp (void)
60
u64
61
svm_get_global_region_base_va ()
62
{
63
-#ifdef CLIB_SANITIZE_ADDR
64
- return 0x200000000000;
65
-#endif
66
-
67
#if __aarch64__
68
/* On AArch64 VA space can have different size, from 36 to 48 bits.
69
Here we are trying to detect VA bits by parsing /proc/self/maps
@@ -94,6 +90,9 @@ svm_get_global_region_base_va ()
94
90
clib_unix_error ("unexpected va bits '%u'", bits);
95
91
#endif
96
92
93
+#ifdef CLIB_SANITIZE_ADDR
+ return 0x200000000000;
+#endif
97
/* default value */
98
return 0x130000000ULL;
99
}
0 commit comments