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/