diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2021-07-29 11:36:30 +0300 |
---|---|---|
committer | Minda Chen <minda.chen@starfivetech.com> | 2023-11-06 14:24:52 +0300 |
commit | b00b3ea5c737160dd829077636c0f5554e41ef2e (patch) | |
tree | b5963207d37371d8bb7f0369aa9f6e4698ed3106 /net/unix/sysctl_net_unix.c | |
parent | dcc75fc8b5cf7334fc212c72538827796803c35a (diff) | |
download | linux-b00b3ea5c737160dd829077636c0f5554e41ef2e.tar.xz |
arm64/sve: Make kernel FPU protection RT friendly
Non RT kernels need to protect FPU against preemption and bottom half
processing. This is achieved by disabling bottom halves via
local_bh_disable() which implictly disables preemption.
On RT kernels this protection mechanism is not sufficient because
local_bh_disable() does not disable preemption. It serializes bottom half
related processing via a CPU local lock.
As bottom halves are running always in thread context on RT kernels
disabling preemption is the proper choice as it implicitly prevents bottom
half processing.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions