Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Friday, February 26, 2010 - 7:08 am

On Fri, Feb 26, 2010 at 02:35:24PM +0200, Pekka Enberg wrote:

Let's put it like this: i'm sure there a myriad different 
way in all the possible design spaces to change slab to 
make memory hotadd work.

Unless someone gives me a strong reason (e.g. code as submitted
doesn't work or is really unclean) I'm not very motivated to try them
all (also given that slab.c is really legacy code that will
hopefully go away at some point).  

Also there are still other bugs to fix in memory hotadd and I'm focussing
 my efforts on that.

I don't think the patches I submitted are particularly intrusive or 
unclean or broken.

As far as I can see Christoph's proposal was just another way
to do this, but it wasn't clear to me it was better enough
in any way to spend significant time on it.

So yes I would prefer if you merged them as submitted just
to fix the bugs. If someone else comes up with a better way
to do this and submits patches they could still change
to that later.

As for the timer race patch: I cannot make a strong
argument right now that it's needed, on the other hand
a bit of defensive programming also doesn't hurt. But 
if that one is not in I won't cry.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, Christoph Lameter, (Fri Feb 19, 11:22 am)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, Christoph Lameter, (Fri Feb 19, 11:22 am)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, Christoph Lameter, (Wed Feb 24, 8:49 am)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, Christoph Lameter, (Thu Feb 25, 11:30 am)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, Christoph Lameter, (Thu Feb 25, 11:34 am)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, Christoph Lameter, (Thu Feb 25, 12:19 pm)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, Christoph Lameter, (Thu Feb 25, 3:31 pm)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, KAMEZAWA Hiroyuki, (Thu Feb 25, 6:09 pm)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, Andi Kleen, (Fri Feb 26, 7:08 am)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, Christoph Lameter, (Fri Feb 26, 8:04 am)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, Christoph Lameter, (Fri Feb 26, 8:05 am)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, Christoph Lameter, (Fri Feb 26, 10:24 am)
Re: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap, KAMEZAWA Hiroyuki, (Sun Feb 28, 6:59 pm)
[patch] slab: add memory hotplug support, David Rientjes, (Mon Mar 1, 3:24 am)
Re: [patch] slab: add memory hotplug support, Pekka Enberg, (Mon Mar 1, 10:53 pm)
Re: [patch] slab: add memory hotplug support, Andi Kleen, (Tue Mar 2, 5:53 am)
Re: [patch] slab: add memory hotplug support, Pekka Enberg, (Tue Mar 2, 8:04 am)
Re: [patch] slab: add memory hotplug support, Christoph Lameter, (Tue Mar 2, 1:20 pm)
Re: [patch] slab: add memory hotplug support, David Rientjes, (Tue Mar 2, 2:03 pm)
Re: [patch] slab: add memory hotplug support, David Rientjes, (Tue Mar 2, 2:17 pm)
Re: [patch] slab: add memory hotplug support, KAMEZAWA Hiroyuki, (Tue Mar 2, 6:28 pm)
Re: [patch] slab: add memory hotplug support, David Rientjes, (Tue Mar 2, 7:39 pm)
Re: [patch] slab: add memory hotplug support, KAMEZAWA Hiroyuki, (Tue Mar 2, 7:51 pm)
Re: [patch] slab: add memory hotplug support, Andi Kleen, (Wed Mar 3, 7:34 am)
Re: [patch] slab: add memory hotplug support, Christoph Lameter, (Wed Mar 3, 8:46 am)
Re: [patch] slab: add memory hotplug support, Nick Piggin, (Thu Mar 4, 11:20 pm)
Re: [patch] slab: add memory hotplug support, Anca Emanuel, (Fri Mar 5, 5:47 am)
Re: [patch] slab: add memory hotplug support, Anca Emanuel, (Fri Mar 5, 6:58 am)
Re: [patch] slab: add memory hotplug support, Christoph Lameter, (Fri Mar 5, 7:11 am)
Re: [patch] slab: add memory hotplug support, Andi Kleen, (Sun Mar 7, 7:58 pm)
Re: [patch] slab: add memory hotplug support, Andi Kleen, (Sun Mar 7, 8:06 pm)
Re: [patch] slab: add memory hotplug support, David Rientjes, (Mon Mar 8, 4:19 pm)
Re: [patch] slab: add memory hotplug support, Nick Piggin, (Tue Mar 9, 6:46 am)
Re: [patch] slab: add memory hotplug support, Pekka Enberg, (Mon Mar 22, 10:28 am)
Re: [patch] slab: add memory hotplug support, Nick Piggin, (Mon Mar 22, 2:12 pm)
Re: [patch] slab: add memory hotplug support, David Rientjes, (Sat Mar 27, 7:13 pm)
[patch v2] slab: add memory hotplug support, David Rientjes, (Sat Mar 27, 7:40 pm)
Re: [patch v2] slab: add memory hotplug support, Pekka Enberg, (Tue Mar 30, 2:01 am)
Re: [patch v2] slab: add memory hotplug support, Christoph Lameter, (Tue Mar 30, 9:43 am)
Re: [patch v2] slab: add memory hotplug support, David Rientjes, (Sun Apr 4, 1:45 pm)
Re: [patch v2] slab: add memory hotplug support, Pekka Enberg, (Wed Apr 7, 9:29 am)