mirror of
https://github.com/sched-ext/scx.git
synced 2024-12-12 11:37:18 +00:00
add back ARM arena vaddr offset
This commit is contained in:
parent
a7f0423472
commit
03c8e21717
@ -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");
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user