local_t: update documentation
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Cc: Grant Grundler <grundler@parisc-linux.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
1a2142b08c
commit
0e1ccb9619
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user