Re: [PATCH 12/13] x86/jitalloc: prepare to allocate exectuatble memory as ROX

From: Steven Rostedt
Date: Sun Jun 04 2023 - 22:52:58 EST


On Thu, 1 Jun 2023 16:54:36 -0700
Nadav Amit <nadav.amit@xxxxxxxxx> wrote:

> > The way text_poke() is used here, it is creating a new writable alias
> > and flushing it for *each* write to the module (like for each write of
> > an individual relocation, etc). I was just thinking it might warrant
> > some batching or something.

Batching does exist, which is what the text_poke_queue() thing does.

-- Steve