LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

Atomic context and kernel API design

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)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds