summaryrefslogtreecommitdiff
path: root/sys/arch/vax/floppy
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-10-27 20:35:22 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-10-27 20:35:22 +0000
commit46e1c801d7a9835e871c570047964806aa7e6485 (patch)
tree9c9da3e7deb97c9f2e8c07ee64ebc115c4029194 /sys/arch/vax/floppy
parent39826bed35d5224e115fe5fafa745276767e86a3 (diff)
In __cpu_simple_lock() and __cpu_simple_lock_try(), use a local u_int instead
of a local __cpu_simple_lock_t (which is volatile), so that the compiler can optimize it to a register, instead of using a memory location (and doing stores into it when __cpu_simple_lock() is spinning). This makes the MP code a bit smaller and a bit faster.
Diffstat (limited to 'sys/arch/vax/floppy')
0 files changed, 0 insertions, 0 deletions