lkml.org 
[lkml]   [2000]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch?] Re: Do ramdisk exec's map direct to buffer cache?


On Tue, 1 Aug 2000, Andrea Arcangeli wrote:
> The fix I prefer is to pass gfp_mask to try_to_free_buffers and to call
> sync_page_buffers only if __GFP_IO was set (checking for it inside
> try_to_free_buffers).

I changed "wait" to be either 0, 1 or 2 - where 1 means "start writeout"
and 2 means "wait for completion" (and 0 obviously means "only free if you
can do so immediately).

That should fix it.

Linus


-
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:57    [from the cache]
©2003-2011 Jasper Spaans