local_t Documentation update
commite1265205c0ee3919c3f2c750662630154c8faab2
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 5 Nov 2007 22:50:54 +0000 (5 14:50 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 5 Nov 2007 23:12:32 +0000 (5 15:12 -0800)
tree904809bdacafb24d82d69c564251c3967ded9986
parentbf2cdef30667d0d3d09c6934c95d1fb87c43345a
local_t Documentation update

Grant Grundler was asking for more detail about correct usage of local
atomic operations and suggested adding the resulting summary to
local_ops.txt.

"Please add a bit more detail. If DaveM is correct (he normally is), then
there must be limits on how the local_t can be used in the kernel process
and interrupt contexts. I'd like those rules spelled out very clearly
since it's easy to get wrong and tracking down such a bug is quite painful."

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/local_ops.txt