Skip to content

Commit

Permalink
docs: ftrace: Fix small notation mistake
Browse files Browse the repository at this point in the history
The use of iff ("if and only if") notation is not accurate in this case.

Suggested-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Frank A. Cancio Bello <[email protected]>
Reviewed-by: Steven Rostedt (VMware) <[email protected]>
Reviewed-by: Joel Fernandes (Google) <[email protected]>
Link: https://lore.kernel.org/r/22f9a98a972c3155c7b478247a087a5efafde774.1577231751.git.frank@generalsoftwareinc.com
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
gsi-frank authored and Jonathan Corbet committed Jan 10, 2020
1 parent 5b8914a commit 1209f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/trace/ring-buffer-design.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ commit_page - a pointer to the page with the last finished non-nested write.

cmpxchg - hardware-assisted atomic transaction that performs the following:

A = B iff previous A == C
A = B if previous A == C

R = cmpxchg(A, C, B) is saying that we replace A with B if and only if
current A is equal to C, and we put the old (current) A into R
Expand Down

0 comments on commit 1209f45

Please sign in to comment.