On Tue, 16 Oct 2001, Marcelo Tosatti wrote:
> + /*
> + * We're possibly going to eat memory from the min<->low
> + * "reversed" area. Throttling page reclamation using
"reserved" ;)
> + * the allocators which reach this point will give us a
> + * fair system.
> + */
> +
> + if ((gfp_mask & __GFP_WAIT))
> + vm_throttle(classzone, gfp_mask, order);
It might be an idea to also test for PF_MEMALLOC here,
otherwise bad things will happen.
regards,
Rik
-- DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ (volunteers needed)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 : Tue Oct 23 2001 - 21:00:16 EST