Messages in this thread | | | From | "Ulrich Windl" <> | Date | Mon, 06 Sep 2004 08:26:07 +0200 | Subject | Re: [RFC] New Time of day proposal (updated 9/2/04) |
| |
On 3 Sep 2004 at 22:26, Dominik Brodowski wrote:
... > What about removing cpu_freq_khz you have in your patch, adding a per-CPU > value, and just use the value of the boot CPU for the other CPUs if > !CONFIG_DIFFERENT_CPU_SPEEDS or something like that? ...
I would not mention SMP at that stage, but most of the existing code on IA32 suumes that all CPUs run with the same frequency. I only heared that at least on Alphas this is not true. Probably you'll need a per-CPU state regarding time. Most likely resulting in the "local CPU's time" and a global concept of time that should not be in contradiction with any CPU's time. That might mean that any process always has to query the global time, involving extra overhead.
You mentioned it...
Regards, Ulrich
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |