Re: [RFC PATCH 01/15] nohz_task: New mask for cpus having nohz task

From: Dario Faggioli
Date: Fri Dec 24 2010 - 03:20:29 EST


On Fri, 2010-12-24 at 16:00 +0800, Lai Jiangshan wrote:
> On 12/20/2010 11:24 PM, Frederic Weisbecker wrote:
> >
> > +config NO_HZ_TASK
> > + bool "Tickless task"
> > + depends on HAVE_NO_HZ_TASK && NO_HZ && SMP && HIGH_RES_TIMERS
> > + help
> > + When a task runs alone on a CPU and switches into this mode,
> > + the timer interrupt will only trigger when it is strictly
> > + needed.
>
> Why it depends on SMP?
>
I guess that's because you need at least a ticking CPU for timekeeping
and stuff... Right?

Regards,
Dario

--
<<This happens because I choose it to happen!>> (Raistlin Majere)
----------------------------------------------------------------------
Dario Faggioli, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa (Italy)

http://retis.sssup.it/people/faggioli -- dario.faggioli@xxxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part