Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 223b5e57 authored by Mike Rapoport (IBM)'s avatar Mike Rapoport (IBM) Committed by Luis Chamberlain
Browse files

mm/execmem, arch: convert remaining overrides of module_alloc to execmem


Extend execmem parameters to accommodate more complex overrides of
module_alloc() by architectures.

This includes specification of a fallback range required by arm, arm64
and powerpc, EXECMEM_MODULE_DATA type required by powerpc, support for
allocation of KASAN shadow required by s390 and x86 and support for
late initialization of execmem required by arm64.

The core implementation of execmem_alloc() takes care of suppressing
warnings when the initial allocation fails but there is a fallback range
defined.

Signed-off-by: default avatarMike Rapoport (IBM) <rppt@kernel.org>
Acked-by: default avatarWill Deacon <will@kernel.org>
Acked-by: default avatarSong Liu <song@kernel.org>
Tested-by: default avatarLiviu Dudau <liviu@dudau.co.uk>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent f6bec26c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment