Re: [PATCH] i386 Time: Avoid PIT SMP lockups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 11 Oct 2006, Andrew Morton wrote:

> So this patch has the potential to screw up people who have 2-way or 4-way,
> no hpet/pm-timer and dodgy TSCs.

 Note that all APIC-based SMP systems (even these rare i486 beasts) by 
definition do have local APIC timers, one per CPU, with a reasonable 
resolution which could likely be used instead.  There is an erratum in 
some early Pentium integrated APICs, where a tick is lost when 0 is 
reached (the timer counts downwards), so it may be needed to be taken into 
account for good timekeeping, but otherwise the timers look like a 
reasonable choice.  The timers are local to their respective CPUs and are 
never written by Linux (see references to APIC_TMCCT), so there is no need 
for locking to access them.

  Maciej
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux