summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-10-01 00:11:03 +0000
committermarius <marius@FreeBSD.org>2011-10-01 00:11:03 +0000
commit3c6a68b66d050e0c7b507e89beaf57b5df7636a7 (patch)
tree72cce6cbedec749f35c8f5e3da23b6d0efb8f6af /sys/kern/kern_sig.c
parentc4a8a741fd80ee26b85664d65c614df7abeb15cd (diff)
downloadFreeBSD-src-3c6a68b66d050e0c7b507e89beaf57b5df7636a7.zip
FreeBSD-src-3c6a68b66d050e0c7b507e89beaf57b5df7636a7.tar.gz
In total store which we use for running the kernel and all of the userland
atomic operations behave as if the were followed by a memory barrier so there's no need to include ones in the acquire variants of atomic(9). Removing these results a small performance improvement, specifically this is sufficient to compensate the performance loss seen in the worldstone benchmark seen when using SCHED_ULE instead of SCHED_4BSD. This change is inspired by Linux even more radically doing the equivalent thing some time ago. Thanks go to Peter Jeremy for additional testing.
Diffstat (limited to 'sys/kern/kern_sig.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud