Re: + i386-time-avoid-pit-smp-lockups.patch added to -mm tree
From: Daniel Walker
Date: Thu Oct 19 2006 - 10:51:04 EST
On Thu, 2006-10-19 at 16:05 +0200, Andi Kleen wrote:
> > You just mean the if statement above though? I was talking more about
> > the structure above this called "clocksource_pit" which isn't used on
> > SMP systems due to this code addition. AFAIK init_pit_clocksource()
> > could disappear along with the clocksource structure ..
>
> It will end up as a int f() { return 0; }. Not very much overhead.
>
> -Andi
Here's what I found ..
-rwxr-xr-x 1 dwalker engr 48252535 Oct 19 07:47 vmlinux
-rwxr-xr-x 1 dwalker engr 48249958 Oct 19 07:47 vmlinux.ifdef
So we're talking about ~2.5k of code including the pit_read and
clocksource structure.
Daniel
-
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/