mirror of
https://github.com/pithings/unkernel.git
synced 2026-12-02 02:10:29 +08:00
A BPF arena needs get_vm_area(), which VMALLOC_FLAT does not have; with the patch, arena maps fail with EINVAL as on kernels without an MMU. BPF_SYSCALL stays off in kw_defconfig, so the patch is dormant by default; it lets a kernel turn BPF on without importing get_vm_area. Co-authored-by: Greg Bell <code@gregbell.ca>