On Tue, Mar 26, 2002 at 09:21:57PM -0800, Terry Lambert wrote: > Alfred Perlstein wrote: > > > But if system calls aren't preempted under what circumstances can a > > > process hold a vnode lock and then be usurped for processor? > > > > While sleeping for IO. > > Ideal systems release and reacquire locks when they are going > to suspend for a long time (Djikstra's "Banker's Algorithm"). > > -- Terry >
Of course, the downside of this is that a low priority process that needs a lot of resources may never be able get all of the resources that it needs. :) Josh To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

