Re: RFC: Resource Management

Alan Cox (alan@cymru.net)
Mon, 4 Mar 1996 09:20:33 +0000 (GMT)


> 2) Is the order of request/release vital?

Yes, or you may get deadlocks if you sleep. You need a priority
scheme for resource locking (eg IRQ, then DMA, then I/O by number
in ascending order).

> 3) What is the recommended way to do a SMP processor lock?
You don't need to worry about that unless you are creating kernel
threads yourself.

Alan