Re: 'global' rq->clock
From: Ingo Molnar
Date: Sat May 03 2008 - 19:47:47 EST
* David Miller <davem@xxxxxxxxxxxxx> wrote:
> From: Ingo Molnar <mingo@xxxxxxx>
> Date: Sun, 4 May 2008 01:38:25 +0200
>
> > ah, good! It really looks like unnecessary overhead for the "simple
> > IPIs". But ... i'm wondering ... what about softirq processing? Do these
> > IPIs process softirqs on the way out? In that case the non-processed
> > jiffies might be a problem.
> >
> > it's all a bit messy. I wish we could start turning jiffies into a
> > function (which would just read GTOD and estimate jiffies from there),
> > but i fear we are not there yet ...
>
> I think Peter Z. made a good point that we probably need to keep it
> there for smp_call_function() receivers, so that the called functions
> can test the context they are in accurately.
hm, good point, i missed that aspect.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/