diff options
author | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2025-06-03 14:14:45 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-06-11 11:20:52 +0200 |
commit | 7cd9a11dd0c3d1dd225795ed1b5b53132888e7b5 (patch) | |
tree | 50f0c07dc45da5f5b73f4475ec55a810bcc9e44b /lib/mpi/mpiutil.c | |
parent | a82b26451de126a5ae130361081986bc459afe9b (diff) |
Revert "mm/execmem: Unify early execmem_cache behaviour"
The commit d6d1e3e6580c ("mm/execmem: Unify early execmem_cache
behaviour") changed early behaviour of execemem ROX cache to allow its
usage in early x86 code that allocates text pages when
CONFIG_MITGATION_ITS is enabled.
The permission management of the pages allocated from execmem for ITS
mitigation is now completely contained in arch/x86/kernel/alternatives.c
and therefore there is no need to special case early allocations in
execmem.
This reverts commit d6d1e3e6580ca35071ad474381f053cbf1fb6414.
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20250603111446.2609381-6-rppt@kernel.org
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions