9 config HAVE_PREEMPT_LAZY
13 def_bool y if HAVE_PREEMPT_LAZY && PREEMPT_RT_FULL
16 prompt "Preemption Model"
20 bool "No Forced Preemption (Server)"
22 This is the traditional Linux preemption model, geared towards
23 throughput. It will still provide good latencies most of the
24 time, but there are no guarantees and occasional longer delays
27 Select this option if you are building a kernel for a server or
28 scientific/computation system, or if you want to maximize the
29 raw processing power of the kernel, irrespective of scheduling
32 config PREEMPT_VOLUNTARY
33 bool "Voluntary Kernel Preemption (Desktop)"
35 This option reduces the latency of the kernel by adding more
36 "explicit preemption points" to the kernel code. These new
37 preemption points have been selected to reduce the maximum
38 latency of rescheduling, providing faster application reactions,
39 at the cost of slightly lower throughput.
41 This allows reaction to interactive events by allowing a
42 low priority process to voluntarily preempt itself even if it
43 is in kernel mode executing a system call. This allows
44 applications to run more 'smoothly' even when the system is
47 Select this if you are building a kernel for a desktop system.
50 bool "Preemptible Kernel (Low-Latency Desktop)"
52 select UNINLINE_SPIN_UNLOCK if !ARCH_INLINE_SPIN_UNLOCK
54 This option reduces the latency of the kernel by making
55 all kernel code (that is not executing in a critical section)
56 preemptible. This allows reaction to interactive events by
57 permitting a low priority process to be preempted involuntarily
58 even if it is in kernel mode executing a system call and would
59 otherwise not be about to reach a natural preemption point.
60 This allows applications to run more 'smoothly' even when the
61 system is under load, at the cost of slightly lower throughput
62 and a slight runtime overhead to kernel code.
64 Select this if you are building a kernel for a desktop or
65 embedded system with latency requirements in the milliseconds
69 bool "Preemptible Kernel (Basic RT)"
70 select PREEMPT_RT_BASE
72 This option is basically the same as (Low-Latency Desktop) but
73 enables changes which are preliminary for the full preemptible
76 config PREEMPT_RT_FULL
77 bool "Fully Preemptible Kernel (RT)"
78 depends on IRQ_FORCED_THREADING
79 select PREEMPT_RT_BASE