Messages in this thread |  | | | Date | Tue, 1 Aug 2000 09:00:27 -0700 (PDT) | | From | Linus Torvalds <> | | Subject | Re: [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/
|  |