freebsd-dev/sys/cddl
Andriy Gapon dfe3a1b374 cyclic xcall: use smp_no_rendevous_barrier as setup function parameter
In this case we call target function only on a single CPU and do not
need any synchronization at the setup stage.

It's a bit non-obvious but setup function of NULL means that
smp_rendezvous_cpus waits for all CPUs to arrive at the rendezvous
point, but without doing any actual setup.  While using
smp_no_rendevous_barrier means that each CPU proceeds on its own
schedule without any synchronization whatsoever.

MFC after:	3 weeks
2010-12-17 18:22:50 +00:00
..
boot/zfs Forgot to commit this file. Add ZPOOL_CONFIG_IS_LOG. 2010-09-10 04:44:13 +00:00
compat/opensolaris opensolaris cyclic: fix deadlock and make a little bit closer to upstream 2010-12-07 12:25:26 +00:00
contrib/opensolaris Remove redundant semicolon and empty like. 2010-12-11 13:35:25 +00:00
dev cyclic xcall: use smp_no_rendevous_barrier as setup function parameter 2010-12-17 18:22:50 +00:00