cvs commit: src/sys/amd64/amd64 cpu_switch.S
Jeff Roberson
jeff at FreeBSD.org
Tue Jul 17 22:36:57 UTC 2007
jeff 2007-07-17 22:36:56 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 cpu_switch.S
Log:
- Optimize the amd64 cpu_switch() TD_LOCK blocking and releasing to
require fewer blocking loops.
- Don't use atomic ops with 4BSD or on UP.
- Only use the blocking loop if ULE is compiled in.
- Use the correct memory barrier.
Discussed with: attilio, jhb, ssouhlal
Tested by: current@
Approved by: re
Revision Changes Path
1.159 +19 -15 src/sys/amd64/amd64/cpu_switch.S
More information about the cvs-src
mailing list