Messages in this thread | | | Date | Tue, 1 Aug 2000 14:10:16 +0200 (CEST) | From | Andrea Arcangeli <> | Subject | Re: [patch?] Re: Do ramdisk exec's map direct to buffer cache? |
| |
On Mon, 31 Jul 2000, Linus Torvalds wrote:
>do something like > > int wait; > > if (!(gfp_mask & __GFP_IO)) > goto unlock_continue; > wait = nr_dirty-- < 0;
We still want to recycle the clean buffers from a GFP_BUFFER allocation. 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).
Andrea
- 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/
| |