Re: [PATCH v4 15/16] module: Move where we mark modules RO,X
From: Peter Zijlstra <peterz@infradead.org>
Date: 2019-10-25 10:06:40
Also in:
lkml
From: Peter Zijlstra <peterz@infradead.org>
Date: 2019-10-25 10:06:40
Also in:
lkml
On Fri, Oct 25, 2019 at 10:43:00AM +0200, Peter Zijlstra wrote:
But none of that explains why apply_alternatives() is also delayed. So I'm very tempted to just revert that patchset for doing it all wrong.
And I've done just that. This includes Josh's validation patch, the revert and my klp_appy_relocations_add() patches with the removal of module_disable_ro(). Josh, can you test or give me clue on how to test? I need to run a few errands today, but I'll try and have a poke either tonight or tomorrow. git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/rwx After this it is waiting for Mark's argh64 patches to land: https://lkml.kernel.org/r/20191021163426.9408-5-mark.rutland@arm.com And then we can go and delete module_disable_ro() entirely -- hooray!