diff options
| author | Ankur Arora <[email protected]> | 2024-12-13 04:06:58 +0000 |
|---|---|---|
| committer | Boqun Feng <[email protected]> | 2025-03-05 02:46:47 +0000 |
| commit | 8437bb84bc554fed7a716408cbb2b0e3bd13356e (patch) | |
| tree | cc11071dbc0d21580f686aa20775059a98216346 /net/unix/af_unix.c | |
| parent | rcutorture: Update ->extendables check for lazy preemption (diff) | |
| download | kernel-8437bb84bc554fed7a716408cbb2b0e3bd13356e.tar.gz kernel-8437bb84bc554fed7a716408cbb2b0e3bd13356e.zip | |
rcu: limit PREEMPT_RCU configurations
PREEMPT_LAZY can be enabled stand-alone or alongside PREEMPT_DYNAMIC
which allows for dynamic switching of preemption models.
The choice of PREEMPT_RCU or not, however, is fixed at compile time.
Given that PREEMPT_RCU makes some trade-offs to optimize for latency
as opposed to throughput, configurations with limited preemption
might prefer the stronger forward-progress guarantees of PREEMPT_RCU=n.
Accordingly, explicitly limit PREEMPT_RCU=y to the latency oriented
preemption models: PREEMPT, PREEMPT_RT, and the runtime configurable
model PREEMPT_DYNAMIC.
This means the throughput oriented models, PREEMPT_NONE,
PREEMPT_VOLUNTARY, and PREEMPT_LAZY will run with PREEMPT_RCU=n.
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Ankur Arora <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Signed-off-by: Boqun Feng <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
