correct use of lock_kernel() - help! please
From: Iain Sandoe <hidden>
Date: 2001-01-29 10:29:56
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/