Atomic context and kernel API design
[Kernel] Posted Mar 25, 2008 17:05 UTC (Tue) by corbet
An API should refrain from making promises that it cannot keep. A recent
episode involving the kernel's in_atomic() macro demonstrates how
things can go wrong when a function does not really do what it appears to
do. It is also a good excuse to look at an under-documented (but
fundamental) aspect of kernel code design. Click below (subscribers only)
for the full story.
Full Story (comments: 26)