Files
Rafael Aquini f200bc43a9 execmem: introduce execmem_alloc_rw()
JIRA: https://redhat.atlassian.net/browse/RHEL-145695

commit 838955f64ae7582f009a3538889bb9244f37ab26
Author: Mike Rapoport (Microsoft) <rppt@kernel.org>
Date:   Sun Jul 13 10:17:24 2025 +0300

    execmem: introduce execmem_alloc_rw()

    Some callers of execmem_alloc() require the memory to be temporarily
    writable even when it is allocated from ROX cache.  These callers use
    execemem_make_temp_rw() right after the call to execmem_alloc().

    Wrap this sequence in execmem_alloc_rw() API.

    Link: https://lkml.kernel.org/r/20250713071730.4117334-3-rppt@kernel.org
    Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
    Reviewed-by: Daniel Gomez <da.gomez@samsung.com>
    Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
    Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org>
    Cc: Steven Rostedt (Google) <rostedt@goodmis.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2026-07-31 14:50:56 -04:00
..
2026-07-31 14:50:56 -04:00