Source-Changes archive

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

CVS commit: [yamt-idlelwp] src/sys/arch/i386/i386



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.




Home | Main Index | Thread Index | Old Index