Re: [RFC] - Move call to calc_load()

From: Ingo Molnar
Date: Tue Mar 21 2006 - 15:36:16 EST



* Jack Steiner <steiner@xxxxxxx> wrote:

> Here is the patch that I am proposing. This patch is incomplete
> because it addresses only the IA64 architecture. If this approach is
> acceptible, I'll update the patch to cover all architectures.
>
> Signed-off-by: Jack Steiner <steiner@xxxxxxx>

would be nice to base this on the GTOD patchset - that way you'll only
have to modify kernel/time/*.c, not a gazillion of architectures...

i agree with your analysis - there is no reason calc_load() should be
under xtime_lock. I guess no-one noticed this so far because calc_load()
iterating over hundreds of CPUs isnt too common.

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/