Writing Device Drivers

Lock Granularity

Here are some issues to consider when deciding on how many locks to use in a driver:

A little thought in reorganizing the ordering and types of locks around such data can lead to considerable savings.