public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Query] Can we use normal timers (kernel/timer.c) while in NO_HZ_FULL mode?
@ 2014-06-04 11:41 Viresh Kumar
  2014-06-04 13:23 ` Frederic Weisbecker
  0 siblings, 1 reply; 6+ messages in thread
From: Viresh Kumar @ 2014-06-04 11:41 UTC (permalink / raw)
  To: Frédéric Weisbecker, Thomas Gleixner
  Cc: Kevin Hilman, Daniel Lezcano, Lists linaro-kernel,
	Linux Kernel Mailing List, Linaro Networking, Preeti U Murthy

Hi,

While working on the ONESHOT_STOPPED mode I came across
another confusing scenario..

Normal timers (kernel/timer.c) don't configure clockevent devices
at all but they always rely on PERIODIC tick interrupts to get them
scheduled. i.e. normal timers would be only serviced at next tick
interrupt (in both LOW & HIGH resolution modes)..

Suppose we have entered into NO_HZ_FULL mode (we made
sure that there are no normal timers queued) and a normal
timer was added after that. We will add it to the timer list but
as there is no tick-sched timer, we wouldn't be able to service
the normal timer until next time tick fires again (MAX 1 second
currently)..

And once we remove this MAX 1 second limitation, we might
not service this normal timer for long..

Does this problem statement make sense? Or we don't have
any such problem?

--
viresh

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

end of thread, other threads:[~2014-06-04 14:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-04 11:41 [Query] Can we use normal timers (kernel/timer.c) while in NO_HZ_FULL mode? Viresh Kumar
2014-06-04 13:23 ` Frederic Weisbecker
2014-06-04 13:44   ` Viresh Kumar
2014-06-04 13:53     ` Viresh Kumar
2014-06-04 14:06       ` Frederic Weisbecker
2014-06-04 14:05     ` Frederic Weisbecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox