cvs commit: src/sys/kern kern_spinlock.c src/sys/platform/vkernel/i386 cpu_regs.c src/sys/sys systm.h src/sys/platform/pc32/i386 machdep.c
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Mon Jul 2 10:07:32 PDT 2007
Matthew Dillon wrote:
> Log:
> Implement an architecture call for contended spinlocks so the vkernel can
> insert a usleep().
Very nice. I've been meaning to do this. We could use monitor/mwait on core2duo CPUs for power reduction for example (also when waiting for the mplock/scheduler changes in the idle loop).
cheers
simon
More information about the Commits
mailing list