views:

12

answers:

0

Hello everyone,

I am writing a simple character device driver. (kernel 2.6.26) Multiple concurrent reader & writers are expected.

I am not sure what type of lock is best used to synchronize a short access to internal structures.

Any advice will be most appreciated