Re: [PATCH v6 bpf-next 0/5] bpf_prog_pack followup
From: Luis Chamberlain <mcgrof@kernel.org>
Date: 2022-07-12 04:24:32
Also in:
bpf, linux-mm, lkml
From: Luis Chamberlain <mcgrof@kernel.org>
Date: 2022-07-12 04:24:32
Also in:
bpf, linux-mm, lkml
On Mon, Jul 11, 2022 at 09:18:53PM -0700, Luis Chamberlain wrote:
A vmalloc_ro_exec() by definition would imply a text_poke(). Can kprobes, ftrace and modules use it too? It would be nice so to not have to deal with the loose semantics on the user to have to use set_vm_flush_reset_perms() on ro+x later, but I think this can be addressed separately on a case by case basis.
And who knows, if they can, and can also share a huge page allocator then they may also share similar performance improvements. Luis