diff options
author | Frederic Weisbecker <frederic@kernel.org> | 2021-09-14 12:31:34 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-10-05 15:51:56 +0200 |
commit | c597bfddc9e9e8a63817252b67c3ca0e544ace26 (patch) | |
tree | bca0a05a1a3516eb446cb370bfd757425f0749c2 /kernel/hung_task.c | |
parent | 32ed980c3020b7a19e26dc488c10817807ba2a41 (diff) |
sched: Provide Kconfig support for default dynamic preempt mode
Currently the boot defined preempt behaviour (aka dynamic preempt)
selects full preemption by default when the "preempt=" boot parameter
is omitted. However distros may rather want to default to either
no preemption or voluntary preemption.
To provide with this flexibility, make dynamic preemption a visible
Kconfig option and adapt the preemption behaviour selected by the user
to either static or dynamic preemption.
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210914103134.11309-1-frederic@kernel.org
Diffstat (limited to 'kernel/hung_task.c')
0 files changed, 0 insertions, 0 deletions