Sponsored link Serve your customers, not your servers, with VERIO Linux VPS. Full-access test-drive here. |
kmalloc cannot figure out whether sleeping is allowable or notkmalloc cannot figure out whether sleeping is allowable or notPosted Apr 1, 2008 0:02 UTC (Tue) by rusty (subscriber, #26)Parent article: Atomic context and kernel API design
> In fact, kmalloc() cannot figure out on its own whether sleeping is > allowable or not... You are (of course) correct. Damn, but it was such a beautiful example; the same one I used in 2003 in my OLS keynote, and noone spotted it then either. Thanks, Rusty.
(Log in to post comments)
kmalloc cannot figure out whether sleeping is allowable or not Posted Apr 2, 2008 0:54 UTC (Wed) by roelofs (subscriber, #2599) [Link] Damn, but it was such a beautiful example; the same one I used in 2003 in my OLS keynote, and noone spotted it then either.At least you're in good company. ;-) A somewhat analogous "discovery" involved the thread-(non)safety of the double-checked locking pattern in C++, which various people (possibly including Scott Effective C++ Meyers himself) espoused for some years prior to the publication of an article describing its problems [PDF]. Greg
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.