add back ARM arena vaddr offset

This commit is contained in:
Emil Tsalapatis 2024-11-20 07:48:35 -08:00
parent a7f0423472
commit 03c8e21717

View File

@ -8,7 +8,11 @@ struct {
__uint(type, BPF_MAP_TYPE_ARENA);
__uint(map_flags, BPF_F_MMAPABLE);
__uint(max_entries, 1 << 15); /* number of pages */
#ifdef __TARGET_ARCH_arm64
__ulong(map_extra, (1ull << 32)); /* start of mmap() region */
#else
__ulong(map_extra, (1ull << 44)); /* start of mmap() region */
#endif
} arena __weak SEC(".maps");
/*