sched/preempt fixes
Ingo,
Please pull the sched/core branch that can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git
sched/core
Thanks,
Frederic
---
Frederic Weisbecker (3):
m32r: Use generic PREEMPT config
h8300: Use generic config PREEMPT definition
xtensa: Use generic config PREEMPT definition
arch/h8300/Kconfig.cpu | 4 +--- arch/m32r/Kconfig | 12 +----------- arch/xtensa/Kconfig | 13 +------------ 3 files changed, 3 insertions(+), 26 deletions(-)
PATCH 1/3 m32r: Use generic PREEMPT config
Use the generic preempt config definition in m32r instead of using a custom one.
This also makes it handle the new CONFIG_PREEMPT_COUNT that need to be selected by CONFIG_PREEMPT.
Without that it breaks
kernel/sched.c: In function 'preempt_schedule':
kernel/sched.c:4364: error: implicit declaration of function 'add_preempt_count_notrace' kernel/sched.c:4366: error: implicit declaration of function 'sub_preempt_count_notrace'
--- arch/m32r/Kconfig | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-)
arch/m32r/Kconfig +1 -11
@@ -268,17 +268,7 @@ config SCHED_OMIT_FRAME_POINTER bool default y -config PREEMPT - bool "Preemptible Kernel" - help - This option reduces the latency of the kernel when reacting to - real-time or interactive events by allowing a low priority process to - be preempted even if it is in kernel mode executing a system call. - This allows applications to run more reliably even when the system is - under load. - - Say Y here if you are building a kernel for a desktop, embedded - or real-time system. Say N if you are unsure. +source "kernel/Kconfig.preempt" config SMP bool "Symmetric multi-processing support"
Signature · 1 line
1.7.5.4
Re: [PATCH 1/3] m32r: Use generic PREEMPT config
From: Frederic Weisbecker <[email protected]>
Subject: [PATCH 1/3] m32r: Use generic PREEMPT config
Date: Tue, 05 Jul 2011 18:04:26 +0200
Quoted 8 lines
Use the generic preempt config definition in m32r instead of using a custom one.
This also makes it handle the new
CONFIG_PREEMPT_COUNTthat need to be selected byCONFIG_PREEMPT.Without that it breaks
Quoted 7 lines
kernel/sched.c: In function 'preempt_schedule':
kernel/sched.c:4364: error: implicit declaration of function 'add_preempt_count_notrace'kernel/sched.c:4366: error: implicit declaration of function 'sub_preempt_count_notrace'Reported-by Ingo Molnar <[email protected]>Signed-off-by Frederic Weisbecker <[email protected]>Cc Hirokazu Takata <[email protected]>
Thank you.
Quoted 30 lines
--- arch/m32r/Kconfig | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-)arch/m32r/Kconfig +1
-11@@ -268,17 +268,7 @@ config SCHED_OMIT_FRAME_POINTER bool default y -config PREEMPT - bool "Preemptible Kernel" - help - This option reduces the latency of the kernel when reacting to - real-time or interactive events by allowing a low priority process to - be preempted even if it is in kernel mode executing a system call. - This allows applications to run more reliably even when the system is - under load. - - Say Y here if you are building a kernel for a desktop, embedded - or real-time system. Say N if you are unsure. +source "kernel/Kconfig.preempt" config SMP bool "Symmetric multi-processing support"Signature · 1 line
1.7.5.4
PATCH 2/3 h8300: Use generic config PREEMPT definition
In reply to Frederic WeisbeckerSo that it can handle the new CONFIG_PREEMPT_COUNT.
--- arch/h8300/Kconfig.cpu | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
arch/h8300/Kconfig.cpu +1 -3
@@ -162,9 +162,7 @@ config H8300_TPU_CH int "TPU channel" depends on H8300_TPU -config PREEMPT - bool "Preemptible Kernel" - default n +source "kernel/Kconfig.preempt" source "mm/Kconfig"
Signature · 1 line
1.7.5.4
PATCH 3/3 xtensa: Use generic config PREEMPT definition
In reply to Frederic WeisbeckerSo that it can handle the new CONFIG_PREEMPT_COUNT.
--- arch/xtensa/Kconfig | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-)
arch/xtensa/Kconfig +1 -12
@@ -80,18 +80,7 @@ config XTENSA_UNALIGNED_USER Say Y here to enable unaligned memory access in user space. -config PREEMPT - bool "Preemptible Kernel" - help - This option reduces the latency of the kernel when reacting to - real-time or interactive events by allowing a low priority process to - be preempted even if it is in kernel mode executing a system call. - Unfortunately the kernel code has some race conditions if both - CONFIG_SMP and CONFIG_PREEMPT are enabled, so this option is - currently disabled if you are building an SMP kernel. - - Say Y here if you are building a kernel for a desktop, embedded - or real-time system. Say N if you are unsure. +source "kernel/Kconfig.preempt" config MATH_EMULATION bool "Math emulation"
Signature · 1 line
1.7.5.4
Quoted 17 lines · Frederic Weisbecker
Ingo,
Please pull the sched/core branch that can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git
sched/coreThanks,
Frederic
---Frederic Weisbecker (3):
m32r: Use generic PREEMPT config
h8300: Use generic config PREEMPT definition
xtensa: Use generic config PREEMPT definition
Quoted 4 lines
arch/h8300/Kconfig.cpu | 4 +--- arch/m32r/Kconfig | 12 +----------- arch/xtensa/Kconfig | 13 +------------ 3 files changed, 3 insertions(+), 26 deletions(-)
Pulled, thanks Frederic!
Ingo