]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
local_t Documentation update 2
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 17 Oct 2007 06:29:28 +0000 (23:29 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:56 +0000 (08:42 -0700)
commit74beb9db77930be476b267ec8518a642f39a04bf
tree49cc3c01fe006e85917714a0ba2202293309a645
parent8e3f715a7f004ceb6451cf86101d6e2546eea883
local_t Documentation update 2

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