Re: SCHED_IDLE patch is a source of DoS

Marc Lehmann (pcg@goof.com)
Mon, 9 Nov 1998 01:19:32 +0100


On Sun, Nov 08, 1998 at 03:47:58PM +0100, Andrea Arcangeli wrote:
> On Sun, 8 Nov 1998, Richard Gooch wrote:
>
> >I don't think this "deadlock" is actually a real problem. Unless there
> >is some bug in the FS/VFS, a process should not call schedule() while
>
> You mean to do something like:

No, I think he meant something like:

retry:
lock()

while(not written to disk)
unlock()
goto retry

unlock()

But don't tell me that this is not always possible, please.

-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ --+
The choice of a GNU generation |
|

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/