lkml.org 
[lkml]   [1999]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Linux 2.2.13pre9
Hi,

On Sat, 18 Sep 1999 18:29:11 +0100 (BST), Alan Cox
<alan@lxorguk.ukuu.org.uk> said:

>> wakeup_bdflush-2.2.10-A: avoid a deadlock in wakeup_bdflush.
>> run_task_queue() will sleep if we are flushing
>> loop buffers to disk.

> Need to have a look at this in depth first.

Looks safe enough. wakeup_bdflush() doesn't need to run the disk task
queue: the bdflush() code will do that itself just before going to
sleep, and if bdflush blocks internally on get_request_wait (the only
place where I think we can stall in a manner which might give us
deadlock), then we do an automatic run_task_queue(&tq_disk) before
waiting on the on the request wait queue.

--Stephen


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site