On Fri, Sep 05, 2008 at 01:21:57AM -0700, aubrey.li at intel.com wrote: > Author: Aubrey Li <aubrey.li at intel.com> > Repository: /hg/tesla/hpet_pcplusmp > Latest revision: 2647c4ca1125adbad82c2bac66bd7a9af39baf2a > Total changesets: 1 > Log message: > Revert 7422, since gethrtime need to disable > interrupt to prevent migration, it is more > expensive than reading PM timer > > Files: > update: usr/src/uts/i86pc/io/cpudrv/cpu_acpi.c > update: usr/src/uts/i86pc/io/cpudrv/cpu_idle.c > update: usr/src/uts/i86pc/sys/cpu_acpi.h
I think that interrupt disable can just be an increment and decrement of ->t_preempt, though. Any reasons why not? regards john
