Skip to content

Commit

Permalink
kconfig: set PREEMPT and RCU_BOOST without delay by default
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Frade <admfrade@gmail.com>
  • Loading branch information
xanmod committed Oct 15, 2020
1 parent 92e2b6b commit cec299f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kernel/Kconfig.preempt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

choice
prompt "Preemption Model"
default PREEMPT_NONE
default PREEMPT

config PREEMPT_NONE
bool "No Forced Preemption (Server)"
Expand Down
6 changes: 3 additions & 3 deletions kernel/rcu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ config RCU_FAST_NO_HZ

config RCU_BOOST
bool "Enable RCU priority boosting"
depends on RT_MUTEXES && PREEMPT_RCU && RCU_EXPERT
default n
depends on RT_MUTEXES && PREEMPT_RCU
default y
help
This option boosts the priority of preempted RCU readers that
block the current preemptible RCU grace period for too long.
Expand All @@ -201,7 +201,7 @@ config RCU_BOOST_DELAY
int "Milliseconds to delay boosting after RCU grace-period start"
range 0 3000
depends on RCU_BOOST
default 500
default 0
help
This option specifies the time to wait after the beginning of
a given grace period before priority-boosting preempted RCU
Expand Down

0 comments on commit cec299f

Please sign in to comment.