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