Re: NET fails

From: Andy Valencia <vandys_at_nospam.org>
Date: Tue Nov 02 1999 - 08:46:52 PST

[Eric_Jacobs@fc.mcps.k12.md.us (Eric Jacobs) writes:]

>I looked at the code again and I was thinking something
>similar. I was going to have lock_slot() return a value
>to indicate whether it had to sleep in order to lock the
>slot, and if so, vas_fault would simply try the instruction
>again. We probably wouldn't want to use clock_slot()
>alone, because that would mean the thread would remain
>continuously generating faults and looking up the page
>while the I/O pages in.

Yes, you're absolutely right. We still want to sleep on the slot until it
becomes unlocked. Nice call... are you coding this, or shall I?

Thanks!
Andy
Received on Tue Nov 2 09:46:09 1999

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:56 PDT