freebsd-dev/sys/cddl/dev/cyclic
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
..
i386 cyclic xcall: use smp_no_rendevous_barrier as setup function parameter 2010-12-17 18:22:50 +00:00
cyclic_test.c
cyclic.c opensolaris cyclic: fix deadlock and make a little bit closer to upstream 2010-12-07 12:25:26 +00:00