Re: [PATCH 6/9] riscv: bpf: Move bpf_jit_alloc_exec() and bpf_jit_free_exec() to core
From: Luke Nelson <luke.r.nels@gmail.com>
Date: 2021-03-29 20:42:11
Also in:
linux-riscv, lkml, netdev
From: Luke Nelson <luke.r.nels@gmail.com>
Date: 2021-03-29 20:42:11
Also in:
linux-riscv, lkml, netdev
We will drop the executable permissions of the code pages from the mapping at allocation time soon. Move bpf_jit_alloc_exec() and bpf_jit_free_exec() to bpf_jit_core.c so that they can be shared by both RV64I and RV32I.
Looks good to me. Acked-by: Luke Nelson <luke.r.nels@gmail.com>