All of lore.kernel.org
 help / color / mirror / Atom feed
* [Query]: tick-sched: why don't we stop tick when we are running idle task?
@ 2014-04-09 10:33 Viresh Kumar
  2014-04-09 10:49 ` Viresh Kumar
  0 siblings, 1 reply; 22+ messages in thread
From: Viresh Kumar @ 2014-04-09 10:33 UTC (permalink / raw)
  To: Frédéric Weisbecker
  Cc: Thomas Gleixner, Linux Kernel Mailing List, Lists linaro-kernel

Hi Frederic,

File: kernel/time/tick-sched.c
Function: tick_nohz_full_stop_tick()

We are doing this:

if (!tick_nohz_full_cpu(cpu) || is_idle_task(current))
        return;

Which means: if a FULL_NO_HZ cpu is running idle task currently,
don't stop its tick..

I couldn't understand why. Can you please help here?

--
viresh

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-05-22  8:44 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-09 10:33 [Query]: tick-sched: why don't we stop tick when we are running idle task? Viresh Kumar
2014-04-09 10:49 ` Viresh Kumar
2014-04-10 14:39   ` Frederic Weisbecker
2014-04-11 10:04     ` Viresh Kumar
2014-04-11 14:53       ` Frederic Weisbecker
2014-04-11 15:18         ` Peter Zijlstra
2014-04-11 16:38           ` Viresh Kumar
2014-04-14  9:48             ` Preeti Murthy
2014-04-14  9:51               ` Viresh Kumar
2014-04-14 11:02             ` Peter Zijlstra
2014-04-14 11:42               ` Viresh Kumar
2014-04-14 11:47                 ` Peter Zijlstra
2014-04-14 11:52                   ` Viresh Kumar
2014-04-14 12:06                     ` Peter Zijlstra
2014-04-15  6:04                       ` Viresh Kumar
2014-04-15  9:30                       ` Frederic Weisbecker
2014-04-15 10:52                         ` Peter Zijlstra
2014-04-15 10:53                           ` Peter Zijlstra
2014-04-23 11:12                         ` Viresh Kumar
2014-05-09  8:44                           ` Viresh Kumar
2014-05-13 23:30                             ` Frederic Weisbecker
2014-05-22  8:44                               ` Peter Zijlstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.