Re: [SLAB] Shutdown cache_reaper when cpu goes down

2007-02-01 Thread Christoph Lameter
On Thu, 1 Feb 2007, Andrew Morton wrote: > Is this bug unique to the changes in -mm, or is it in mainline? Mainline is also affected. However, mainline may need a different fix since the hotplug notifier scheme was changed. - To unsubscribe from this list: send the line "unsubscribe linux-kerne

Re: [SLAB] Shutdown cache_reaper when cpu goes down

2007-02-01 Thread Andrew Morton
On Thu, 1 Feb 2007 11:13:29 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > Shutdown the cache_reaper if the cpu is brought down and set the > cache_reap.func to NULL. Otherwise hotplug shuts down the reaper for good. > > Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> > > Index

Re: [SLAB] Shutdown cache_reaper when cpu goes down

2007-02-01 Thread Christoph Lameter
The comments do not explain correctly what is going on. Sorry Oleg but it seems that the protection of the assignment to reap_work is different that what we initially thought. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> Index: current/mm/slab.c =

[SLAB] Shutdown cache_reaper when cpu goes down

2007-02-01 Thread Christoph Lameter
Shutdown the cache_reaper if the cpu is brought down and set the cache_reap.func to NULL. Otherwise hotplug shuts down the reaper for good. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> Index: linux-2.6.20-rc6-mm2/mm/slab.c =