diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-01-25 16:26:50 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-02-17 14:12:42 +0100 |
commit | ef72661e28c64ad610f89acc2832ec67b27ba438 (patch) | |
tree | a68805ca80c0cc424cda83ae3100fd016f7a8793 /arch/riscv | |
parent | static_call: Allow module use without exposing static_call_key (diff) | |
download | linux-ef72661e28c64ad610f89acc2832ec67b27ba438.tar.xz linux-ef72661e28c64ad610f89acc2832ec67b27ba438.zip |
sched: Harden PREEMPT_DYNAMIC
Use the new EXPORT_STATIC_CALL_TRAMP() / static_call_mod() to unexport
the static_call_key for the PREEMPT_DYNAMIC calls such that modules
can no longer update these calls.
Having modules change/hi-jack the preemption calls would be horrible.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions