Date: Fri, 17 Dec 2010 18:22:50 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/cddl/dev/cyclic/i386 cyclic_machdep.c Message-ID: <201012171823.oBHIN0iE033300@repoman.freebsd.org>
index | next in thread | raw e-mail
avg 2010-12-17 18:22:50 UTC
FreeBSD src repository
Modified files:
sys/cddl/dev/cyclic/i386 cyclic_machdep.c
Log:
SVN rev 216505 on 2010-12-17 18:22:50Z by avg
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
Revision Changes Path
1.4 +2 -2 src/sys/cddl/dev/cyclic/i386/cyclic_machdep.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012171823.oBHIN0iE033300>
