Skip to content

Commit 17d9f31

Browse files
daniel-hellstromdavem330
authored andcommitted
SCHED_TTWU_QUEUE is not longer needed since sparc32 now implements IPI
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com> Reported-by: Peter Zijlstra <peterz@infradead.org> Acked-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 90d3ac1 commit 17d9f31

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

init/Kconfig

-5
Original file line numberDiff line numberDiff line change
@@ -827,11 +827,6 @@ config SCHED_AUTOGROUP
827827
desktop applications. Task group autogeneration is currently based
828828
upon task session.
829829

830-
config SCHED_TTWU_QUEUE
831-
bool
832-
depends on !SPARC32
833-
default y
834-
835830
config MM_OWNER
836831
bool
837832

kernel/sched.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2568,7 +2568,7 @@ static void ttwu_queue(struct task_struct *p, int cpu)
25682568
{
25692569
struct rq *rq = cpu_rq(cpu);
25702570

2571-
#if defined(CONFIG_SMP) && defined(CONFIG_SCHED_TTWU_QUEUE)
2571+
#if defined(CONFIG_SMP)
25722572
if (sched_feat(TTWU_QUEUE) && cpu != smp_processor_id()) {
25732573
ttwu_queue_remote(p, cpu);
25742574
return;

0 commit comments

Comments
 (0)