Kernel locking techniques [Linux Journal]
Jul 18, 2002 — by LinuxDevices Staff — from the LinuxDevices Archive — viewsWriting at Linux Journal, Robert Love examines the various locking primitives in the Linux kernel — why you need them and how kernel developers can use them to write safe code . . .
“Proper locking can be tough — real tough. Improper locking can result in random crashes and other oddities. Poorly designed locking can result in code that is hard to read, performs poorly and makes your fellow kernel developers cringe. In this article, I explain why kernel code requires locking, provide general rules for proper kernel locking semantics and then outline the various locking primitives in the Linux kernel . . . “
This article was originally published on LinuxDevices.com and has been donated to the open source community by QuinStreet Inc. Please visit LinuxToday.com for up-to-date news and articles about Linux and open source.