summaryrefslogtreecommitdiffstats
path: root/sys/sys/seq.h
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2017-01-24 19:39:24 +0000
committermjg <mjg@FreeBSD.org>2017-01-24 19:39:24 +0000
commit4fc6ad7e7fce80ff65a66450f1f8e722c8f31070 (patch)
tree4c3a61cb06466c4082239e2cdf21b457cdc5c16e /sys/sys/seq.h
parentddacedb15c9a5535134460863f48986b6d8e82da (diff)
downloadFreeBSD-src-4fc6ad7e7fce80ff65a66450f1f8e722c8f31070.zip
FreeBSD-src-4fc6ad7e7fce80ff65a66450f1f8e722c8f31070.tar.gz
MFC r310805:
Remove cpu_spinwait after seq_consistent. It does not add any benefit as the read routine will do it as necessary.
Diffstat (limited to 'sys/sys/seq.h')
-rw-r--r--sys/sys/seq.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sys/seq.h b/sys/sys/seq.h
index f54a4a9..7e6de5b 100644
--- a/sys/sys/seq.h
+++ b/sys/sys/seq.h
@@ -59,7 +59,6 @@ typedef uint32_t seq_t;
* lobj = gobj;
* if (seq_consistent(&gobj->seq, seq))
* break;
- * cpu_spinwait();
* }
* foo(lobj);
*/
OpenPOWER on IntegriCloud