correct use of lock_kernel() - help! please
Iain Sandoe
iain at sandoe.co.uk
Mon Jan 29 21:29:56 EST 2001
Hi,
In the driver I am working on (dmasound) someone has placed lock/unlock
_kernel() pairs around whole functions.
This means that (e.g.) if we release the sound device with a lot of
un-played samples at a low-ish sample rate...
AFACIT we could hold the kernel locked for *several seconds*
What do I really need to protect with lock/unlock pairs?
or am I missing something (it wouldn't be the first time ..) ;-?
ciao,
Iain.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list