[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1305900070-23492-2-git-send-email-daniel@gaisler.com>
Date: Fri, 20 May 2011 16:01:10 +0200
From: Daniel Hellstrom <daniel@...sler.com>
To: davem@...emloft.net
Cc: sparclinux@...r.kernel.org, sfr@...b.auug.org.au,
peterz@...radead.org, tglx@...utronix.de, mingo@...e.hu,
hpa@...or.com, linux-next@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] SCHED_TTWU_QUEUE is not longer needed since sparc32 now implements IPI
Signed-off-by: Daniel Hellstrom <daniel@...sler.com>
Reported-by: Peter Zijlstra <peterz@...radead.org>
Acked-by: Peter Zijlstra <peterz@...radead.org>
---
init/Kconfig | 5 -----
kernel/sched.c | 2 +-
2 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/init/Kconfig b/init/Kconfig
index df64627..a66b656 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -827,11 +827,6 @@ config SCHED_AUTOGROUP
desktop applications. Task group autogeneration is currently based
upon task session.
-config SCHED_TTWU_QUEUE
- bool
- depends on !SPARC32
- default y
-
config MM_OWNER
bool
diff --git a/kernel/sched.c b/kernel/sched.c
index c62acf4..0516af4 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2564,7 +2564,7 @@ static void ttwu_queue(struct task_struct *p, int cpu)
{
struct rq *rq = cpu_rq(cpu);
-#if defined(CONFIG_SMP) && defined(CONFIG_SCHED_TTWU_QUEUE)
+#if defined(CONFIG_SMP)
if (sched_feat(TTWU_QUEUE) && cpu != smp_processor_id()) {
ttwu_queue_remote(p, cpu);
return;
--
1.6.0.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists