lkml.org 
[lkml]   [1996]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: RFC: Resource Management
Date
> 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


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.638 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site