Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- x86/x86_64 lock optimizations: spinning on a lock should be friendl…
…ier now for the other cpus caches (at the extra cost of a cmp mem + jump) ; tried to arrange a little better the instructions to allow for some parallel execution. - x86 unlocks with xchg by default (since some x86s reorder stores, so a simple mov is unsafe)
- Loading branch information
Showing
1 changed file
with
42 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters