lkml.org 
[lkml]   [2006]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rfc][patch] remove racy sync_page?
On Wed, May 31 2006, Hugh Dickins wrote:
> > What places want to use set_page_dirty_lock without sleeping?
> > The only place in drivers/ apart from sg/st that SetPageDirty are
> > rd.c and via_dmablit.c, both of which look OK, if a bit crufty.
>
> I've not looked recently, but bio.c sticks in the mind as one which
> is pushed to the full contortions to allow for sleeping there.

Indeed, there's a whole bunch of functions and punting to workqueues
just to work around that :-)

--
Jens Axboe

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

\
 
 \ /
  Last update: 2006-05-31 19:57    [W:0.073 / U:1.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site