summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2023-12-21 08:24:23 +0100
committerLuis Chamberlain <mcgrof@kernel.org>2024-01-29 12:00:31 -0800
commitac88ee7d2b87c1f93b89fd9ce5911c2ab2bda816 (patch)
tree18ae269f84887caba5cc4170c891550e4e783fb2 /init
parent41bccc98fb7931d63d03f326a746ac4d429c1dd3 (diff)
module: Use set_memory_rox()
A couple of architectures seem concerned about calling set_memory_ro() and set_memory_x() too frequently and have implemented a version of set_memory_rox(), see commit 60463628c9e0 ("x86/mm: Implement native set_memory_rox()") and commit 22e99fa56443 ("s390/mm: implement set_memory_rox()") Use set_memory_rox() in modules when STRICT_MODULES_RWX is set. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions