]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit166e9a4a23ef0f653e8c80a36457456eb1692e8e
tree71d8ca2df1f51da95a0c2fdcb2b6dd1c87d9340f
parent6becb99f196dd2307ebe41084b7c254536d9782e
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