Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Phillips
Date: Thursday, August 9, 2007 - 5:17 pm

On 8/9/07, Christoph Lameter <clameter@sgi.com> wrote:

PF_MEMALLOC is not such a bad thing.  It will usually be less code
than mempool for the same use case, besides being able to handle a
wider range of problems.  We  introduce __GPF_MEMALLOC for situations
where the need for reserve memory is locally known, as in the network
stack, which is similar or identical to the use case for mempool.  One
could reasonably ask why we need mempool with a lighter alternative
available.  But this is a case of to each their own I think.  Either
technique will work for reserve management.


You can fix reclaim as much as you want and the basic deadlock will
still not go away.  When you finally do get to writing something out,
memory consumers in the writeout path are going to cause problems,
which this patch set fixes.

Agreed that the idea of mempool always sounded strange, and we show
how to get rid of them, but that is not the immediate purpose of this
patch set.

Regards,

Daniel
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Peter Zijlstra, (Mon Aug 6, 3:29 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Mon Aug 6, 11:11 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Mon Aug 6, 11:21 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Peter Zijlstra, (Mon Aug 6, 11:31 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Mon Aug 6, 11:42 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Mon Aug 6, 11:43 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Mon Aug 6, 11:48 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Mon Aug 6, 11:51 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Mon Aug 6, 12:11 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Mon Aug 6, 12:15 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Peter Zijlstra, (Mon Aug 6, 12:31 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Mon Aug 6, 1:12 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Matt Mackall, (Mon Aug 6, 1:12 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Mon Aug 6, 1:19 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Peter Zijlstra, (Mon Aug 6, 1:26 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Andrew Morton, (Mon Aug 6, 1:27 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Mon Aug 6, 2:05 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Mon Aug 6, 3:47 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Mon Aug 6, 3:59 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Mon Aug 6, 4:14 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Mon Aug 6, 4:16 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Mon Aug 6, 4:49 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Tue Aug 7, 3:18 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Peter Zijlstra, (Wed Aug 8, 12:24 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Wed Aug 8, 12:37 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Wed Aug 8, 11:06 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Wed Aug 8, 11:09 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Thu Aug 9, 11:41 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Thu Aug 9, 11:49 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Thu Aug 9, 5:17 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Thu Aug 9, 6:48 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Thu Aug 9, 8:34 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Thu Aug 9, 8:48 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Fri Aug 10, 1:15 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Fri Aug 10, 10:46 am)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Fri Aug 10, 4:25 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Daniel Phillips, (Sun Aug 12, 11:55 pm)
Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK, Christoph Lameter, (Mon Aug 13, 4:04 pm)