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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Phillips
Date: Friday, August 10, 2007 - 1:15 am

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

It is quite clear what is in your patch.  Instead of just grabbing a
page off the buddy free lists in a critical allocation situation you
go invoke shrink_caches.  Why oh why?  All the memory needed to get
through these crunches is already sitting right there on the buddy
free lists, ready to be used, why would you go off scanning instead?
And this does not work in atomic contexts at all, that is a whole
thing you would have to develop, and why?  You just offered us
functionality that we already have, except your idea has issues.

You do not do anything to prevent mixing of ordinary slab allocations
of unknown duration with critical allocations of controlled duration.
 This  is _very important_ for sk_alloc.  How are you going to take
care of that?

In short, you provide a piece we don't need because we already have it
in a more efficient form, your approach does not work in atomic
context, and you need to solve the slab object problem.  You also need
integration with sk_alloc.   That is just what I noticed on a
once-over-lightly.  Your patch has a _long_ way to go before it is
ready to try.

We have already presented a patch set that is tested and is known to
solve the deadlocks.  This patch set has been more than two years in
development.  It covers problems you have not even begun to think
about, which we have been aware of for years.  Your idea is not
anywhere close to working.  Why don't you just work with us instead?
There are certainly improvements that can be made to the posted patch
set.  Running off and learning from scratch how to do this is not
really helpful.

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)