Re: [patch?] Re: Do ramdisk exec's map direct to buffer cache?

From: Linus Torvalds (
Date: Tue Aug 01 2000 - 11:00:27 EST

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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:06 EST