Commit 0e1ccb96 authored by Mathieu Desnoyers's avatar Mathieu Desnoyers Committed by Linus Torvalds

local_t: update documentation

Signed-off-by: default avatarMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1a2142b0
...@@ -27,7 +27,7 @@ CPU which owns the data. Therefore, care must taken to make sure that only one ...@@ -27,7 +27,7 @@ CPU which owns the data. Therefore, care must taken to make sure that only one
CPU writes to the local_t data. This is done by using per cpu data and making CPU writes to the local_t data. This is done by using per cpu data and making
sure that we modify it from within a preemption safe context. It is however sure that we modify it from within a preemption safe context. It is however
permitted to read local_t data from any CPU : it will then appear to be written permitted to read local_t data from any CPU : it will then appear to be written
out of order wrt other memory writes on the owner CPU. out of order wrt other memory writes by the owner CPU.
* Implementation for a given architecture * Implementation for a given architecture
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment