Re[3]: SysV IPC calls from kernel mode
От: TheBeard Россия  
Дата: 12.03.05 09:02
Оценка:
I think, guarding your file operations (read/write/ioctl) with spinlock
in your module should solve the problem. It doesn't matter from where
the file is accessed -- from userspace or from other driver.

wrote:

> Actually, resource is an ordinary node file (file located in /dev directory). There can be processes which open and manipulate the mentioned file and drivers which do the same thing, but at every moment only one module (read driver or process) can work with it. So, I must synchronize this process ...

> Is there any way to synchronize the same resource from kernel space and user space ?
Posted via RSDN NNTP Server 1.9
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.