lkml.org 
[lkml]   [2014]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 24/38] tick-sched: don't check tick_nohz_full_cpu() in __tick_nohz_task_switch()
Date
__tick_nohz_task_switch() calls tick_nohz_full_kick(), which is already checking
tick_nohz_full_cpu() and so we don't need to repeat the same check here.

Remove it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
kernel/time/tick-sched.c | 4 ----
1 file changed, 4 deletions(-)

diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 256f4a3..5a99859 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -261,13 +261,9 @@ void __tick_nohz_task_switch(struct task_struct *tsk)

local_irq_save(flags);

- if (!tick_nohz_full_cpu(smp_processor_id()))
- goto out;
-
if (tick_nohz_tick_stopped() && !can_stop_full_tick())
tick_nohz_full_kick();

-out:
local_irq_restore(flags);
}

--
1.7.12.rc2.18.g61b472e


\
 
 \ /
  Last update: 2014-04-14 23:01    [W:0.268 / U:64.828 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site