summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/auth_unix.c
diff options
context:
space:
mode:
authorjchandra <jchandra@FreeBSD.org>2011-11-17 13:14:59 +0000
committerjchandra <jchandra@FreeBSD.org>2011-11-17 13:14:59 +0000
commit3eb00c33668671a0ee4de6ca5090eb5e3a5cc620 (patch)
tree91557ede155507c6f590261fb1bba7b39f27dac9 /lib/libc/rpc/auth_unix.c
parentdbc322caab4934300a1ed835b0dbb1c130c890c6 (diff)
downloadFreeBSD-src-3eb00c33668671a0ee4de6ca5090eb5e3a5cc620.zip
FreeBSD-src-3eb00c33668671a0ee4de6ca5090eb5e3a5cc620.tar.gz
Do pmap update only on active CPUs.
The pmap update_page/invalidate_page/invalidate_all operations has to be done only on active cpus. In the simplest case, if the process is not active on any other CPUs, we can just do the operation on the current CPU. This change replaces the call to smp_rendezvous() for these operations with smp_rendezvous_cpus() in case there more than one active CPU, or with a direct function call if there is just one active CPU. This change give significant performance increase in fork/exec benchmarks on XLR/XLS/XLP with 32 cpus. Reviewed by: alc
Diffstat (limited to 'lib/libc/rpc/auth_unix.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud