SMP aware and safe driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux