Subject: CVS commit: [yamt-idlelwp] src/sys/arch/i386/i386
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 03/24/2007 18:30:36
Module Name: src
Committed By: ad
Date: Sat Mar 24 18:30:36 UTC 2007
Modified Files:
src/sys/arch/i386/i386 [yamt-idlelwp]: locore.S
Log Message:
cpu_switchto:
- Replace cli/sti with raising the priority level to IPL_IPI.
- Don't reload %cr0 unless necessary.
Improves timings for a pthread condvar benchmark I have by a further 45%
on a dual core system. Reviewed by yamt@.
To generate a diff of this commit:
cvs rdiff -r1.45.2.4 -r1.45.2.5 src/sys/arch/i386/i386/locore.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.