diff options
author | Frank A. Cancio Bello <frank@generalsoftwareinc.com> | 2019-12-25 03:06:57 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-01-10 20:52:47 +0300 |
commit | 1209f45f7dc4eeddfbe5786ceefe40a0e4b7195f (patch) | |
tree | 0d8516a5d0a9f75bb98fd0b71e0e88716eaf409c /Documentation | |
parent | 5b8914a67e60cbc51137c3fb2ce8dcbfe9d096ab (diff) | |
download | linux-1209f45f7dc4eeddfbe5786ceefe40a0e4b7195f.tar.xz |
docs: ftrace: Fix small notation mistake
The use of iff ("if and only if") notation is not accurate in this case.
Suggested-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Frank A. Cancio Bello <frank@generalsoftwareinc.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Link: https://lore.kernel.org/r/22f9a98a972c3155c7b478247a087a5efafde774.1577231751.git.frank@generalsoftwareinc.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/trace/ring-buffer-design.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/trace/ring-buffer-design.txt b/Documentation/trace/ring-buffer-design.txt index ff747b6fa39b..2d53c6f25b91 100644 --- a/Documentation/trace/ring-buffer-design.txt +++ b/Documentation/trace/ring-buffer-design.txt @@ -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 |