Date: Sun, 7 Dec 2008 18:32:09 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/pccbb pccbb_pci.c Message-ID: <200812071832.mB7IWFhK068742@repoman.freebsd.org>
index | next in thread | raw e-mail
imp 2008-12-07 18:32:09 UTC
FreeBSD src repository
Modified files:
sys/dev/pccbb pccbb_pci.c
Log:
SVN rev 185740 on 2008-12-07 18:32:09Z by imp
Use atomic_add_int rather than a simple ++ to ensure no cache races if
the power interrupt and init code waiting for the interrupt are
running on different CPUs. I haven't seen this make any real
difference, but I've also had some reports of odd behavior I can't
otherwise explain. It is an infrequent operation, and certainly
wouldn't hurt.
Revision Changes Path
1.31 +1 -1 src/sys/dev/pccbb/pccbb_pci.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812071832.mB7IWFhK068742>
