]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - mm/percpu.c
mark most percpu globals as __ro_after_init
authorDaniel Micay <danielmicay@gmail.com>
Wed, 10 May 2017 17:36:37 +0000 (13:36 -0400)
committerTejun Heo <tj@kernel.org>
Wed, 10 May 2017 19:21:49 +0000 (15:21 -0400)
commit1328710b8ec30ac552b51bf804d1fc255a1c7451
tree71d8ca2df1f51da95a0c2fdcb2b6dd1c87d9340f
parent56868a460b83c0f93d339256a81064d89aadae8e
mark most percpu globals as __ro_after_init

Moving pcpu_base_addr to this section comes from PaX where it's part of
KERNEXEC. This extends it to the rest of the globals only written by the
init code.

Signed-off-by: Daniel Micay <danielmicay@gmail.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/percpu.c