From 86b6a7721fa5fa1839b46b4cc69b162e627d6882 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 29 Oct 2016 11:20:37 +1100 Subject: [PATCH 02/19] Make preemptible kernel default. --- kernel/Kconfig.preempt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt index 3f9c974..1dc79ec 100644 --- a/kernel/Kconfig.preempt +++ b/kernel/Kconfig.preempt @@ -1,7 +1,7 @@ choice prompt "Preemption Model" - default PREEMPT_NONE + default PREEMPT config PREEMPT_NONE bool "No Forced Preemption (Server)" @@ -17,7 +17,7 @@ config PREEMPT_NONE latencies. config PREEMPT_VOLUNTARY - bool "Voluntary Kernel Preemption (Desktop)" + bool "Voluntary Kernel Preemption (Nothing)" help This option reduces the latency of the kernel by adding more "explicit preemption points" to the kernel code. These new @@ -31,7 +31,8 @@ config PREEMPT_VOLUNTARY applications to run more 'smoothly' even when the system is under load. - Select this if you are building a kernel for a desktop system. + Select this for no system in particular (choose Preemptible + instead on a desktop if you know what's good for you). config PREEMPT bool "Preemptible Kernel (Low-Latency Desktop)" -- 2.7.4