On Wed, 28 Aug 2002, William Lee Irwin III wrote:
> + gfp_nowait = gfp_mask & ~(__GFP_WAIT | __GFP_IO | __GFP_NOKILL);
I suspect what you want is (in vmscan.c):
- out_of_memory();
+ if (gfp_mask & __GFP_FS)
+ out_of_memory();
This means we'll just never call out_of_memory() if we haven't
used all possibilities for freeing pages.
regards,
Rik
-- Bravely reimplemented by the knights who say "NIH".http://www.surriel.com/ http://distro.conectiva.com/
- 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/
This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:26 EST