Skip to Content
Linux Kernel Development, Third Edition
book

Linux Kernel Development, Third Edition

by Robert Love
June 2010
Intermediate to advanced
440 pages
13h 13m
English
Addison-Wesley Professional
Content preview from Linux Kernel Development, Third Edition

9. An Introduction to Kernel Synchronization

In a shared memory application, developers must ensure that shared resources are protected from concurrent access. The kernel is no exception. Shared resources require protection from concurrent access because if multiple threads of execution1 access and manipulate the data at the same time, the threads may overwrite each other’s changes or access data while it is in an inconsistent state. Concurrent access of shared data is a recipe for instability that often proves hard to track down and debug—getting it right at the start is important.

1 The term threads of execution implies any instance of executing code. This includes, for example, a task in the kernel, an interrupt handler, a bottom half, or ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Kernel Development

Mastering Linux Kernel Development

CH Raghav Maruthi
Understanding the Linux Kernel

Understanding the Linux Kernel

Daniel P. Bovet, Marco Cesati

Publisher Resources

ISBN: 9780768696974Purchase book