File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -801,6 +801,9 @@ config ARCH_NO_COHERENT_DMA_MMAP
801
801
config ARCH_NO_PREEMPT
802
802
bool
803
803
804
+ config ARCH_SUPPORTS_RT
805
+ bool
806
+
804
807
config CPU_NO_EFFICIENT_FFS
805
808
def_bool n
806
809
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ config PREEMPT_VOLUNTARY
35
35
36
36
Select this if you are building a kernel for a desktop system.
37
37
38
- config PREEMPT
38
+ config PREEMPT_LL
39
39
bool "Preemptible Kernel (Low-Latency Desktop)"
40
40
depends on !ARCH_NO_PREEMPT
41
- select PREEMPT_COUNT
41
+ select PREEMPT
42
42
select UNINLINE_SPIN_UNLOCK if !ARCH_INLINE_SPIN_UNLOCK
43
43
help
44
44
This option reduces the latency of the kernel by making
@@ -55,7 +55,28 @@ config PREEMPT
55
55
embedded system with latency requirements in the milliseconds
56
56
range.
57
57
58
+ config PREEMPT_RT
59
+ bool "Fully Preemptible Kernel (Real-Time)"
60
+ depends on EXPERT && ARCH_SUPPORTS_RT
61
+ select PREEMPT
62
+ help
63
+ This option turns the kernel into a real-time kernel by replacing
64
+ various locking primitives (spinlocks, rwlocks, etc.) with
65
+ preemptible priority-inheritance aware variants, enforcing
66
+ interrupt threading and introducing mechanisms to break up long
67
+ non-preemptible sections. This makes the kernel, except for very
68
+ low level and critical code pathes (entry code, scheduler, low
69
+ level interrupt handling) fully preemptible and brings most
70
+ execution contexts under scheduler control.
71
+
72
+ Select this if you are building a kernel for systems which
73
+ require real-time guarantees.
74
+
58
75
endchoice
59
76
60
77
config PREEMPT_COUNT
61
78
bool
79
+
80
+ config PREEMPT
81
+ bool
82
+ select PREEMPT_COUNT
You can’t perform that action at this time.
0 commit comments