1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

seqc: fix sed-introduced typos (seqcuence -> sequence)

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mateusz Guzik 2019-05-12 07:13:25 +00:00
parent b72515e129
commit 2425b5168c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347507

View File

@ -44,9 +44,9 @@ typedef uint32_t seqc_t;
* seqc allows readers and writers to work with a consistent snapshot. Modifying
* operations must be enclosed within a transaction delineated by
* seqc_write_beg/seqc_write_end. The trick works by having the writer increment
* the seqcuence number twice, at the beginning and end of the transaction.
* The reader detects that the seqcuence number has not changed between its start
* and end, and that the seqcuence number is even, to validate consistency.
* the sequence number twice, at the beginning and end of the transaction.
* The reader detects that the sequence number has not changed between its start
* and end, and that the sequence number is even, to validate consistency.
*
* Some fencing (both hard fencing and compiler barriers) may be needed,
* depending on the cpu. Modern AMD cpus provide strong enough guarantees to not