lkml.org 
[lkml]   [2003]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: kernel spinlocks; when to use; when appropriate?
From
Date
>    When is is appropriate to use spinlocks in the kernel,
> how are they implemented (e.g. syntax, function names) and
> can anyone think of a good area of the kernel for me to look
> at, that uses them?

May I humbly suggest a look at Linux Device Drivers, Second Edition? It
goes over locking primitives in a fair amount of detail, and includes
examples of their use. Available freely online at:

http://www.xml.com/ldd/chapter/book/index.html

or in your favorite bookstore.

jon

Jonathan Corbet
Executive editor, LWN.net
corbet@lwn.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.025 / U:2.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site