Messages in this thread | | | Date | Thu, 29 Aug 2002 09:37:45 -0300 (BRT) | From | Rik van Riel <> | Subject | Re: [patch] adjustments to dirty memory thresholds |
| |
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/
| |