SMP aware and safe driver

Stefan Richter stefanr at s5r6.in-berlin.de
Fri Feb 20 19:50:39 UTC 2009


hong zhang wrote:
> What should I do to make sure a driver that is SMP aware and safe? 

Nothing more or only little more than you need to do to make a driver
preemption safe.  ;-)

It means you need to serialize accesses to data structures which are
accessible by different contexts, prevent deadlocks, ...  I recommend
"Linux Device Drivers", 3rd edition, which also discusses issues related
to SMP and preemption.
-- 
Stefan Richter
-=====-==--= --=- =-=--
http://arcgraph.de/sr/



More information about the devel mailing list