Christoph Lameter wrote:
On Wed, 22 Aug 2007, Peter Zijlstra wrote:That is an extreme case that AFAIK we currently ignore and could be avoided with some effort.Its not extreme, not even rare, and its handled now. Its what PF_MEMALLOC is for.No its not. If you have all pages allocated as anonymous pages and your writeout requires more pages than available in the reserves then you are screwed either way regardless if you have PF_MEMALLOC set or not.
Only if the _first_ writeout needs more pages. If the sum of all writeouts need more pages than you have available, that is fine. After all, buffer heads and some other metadata is freed on IO completion. Recursive reclaim will also be able to free the data pages after IO completion, and really fix the problem. -- Politics is the struggle between those who want to make their country the best in the world, and those who believe it already is. Each group calls the other unpatriotic. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [RFC 0/7] Postphone reclaim laundry to write at high water marks
- From: Christoph Lameter <[email protected]>
- Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- From: Peter Zijlstra <[email protected]>
- Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- From: Christoph Lameter <[email protected]>
- Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- From: Peter Zijlstra <[email protected]>
- Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- From: Christoph Lameter <[email protected]>
- Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- From: Peter Zijlstra <[email protected]>
- Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- From: Christoph Lameter <[email protected]>
- Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- From: Peter Zijlstra <[email protected]>
- Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- From: Christoph Lameter <[email protected]>
- Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- From: Peter Zijlstra <[email protected]>
- Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- From: Christoph Lameter <[email protected]>
- [RFC 0/7] Postphone reclaim laundry to write at high water marks
- Prev by Date: Re: 2.6.22.5 SATA Failure
- Next by Date: Re: [PATCH] Add all thread stats for TASKSTATS_CMD_ATTR_TGID
- Previous by thread: Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- Next by thread: Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
- Index(es):