Re: SLUB: simplify re on_each_cpu()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pekka Enberg
Date: Thursday, July 17, 2008 - 5:26 am

Hi Robin,

On Wed, Jul 16, 2008 at 09:29:02PM +0400, Alexey Dobriyan wrote:

On Thu, Jul 17, 2008 at 2:38 PM, Robin Holt <holt@sgi.com> wrote:

I think it's actually you who is looking at an older tree.

However, while double-checking this, I noticed that for UP,
on_each_cpu() enables interrupts unconditionally with
local_irq_enable() whereas the call while the old code in SLUB did a
local_irq_restore() that preserves the irq mask. Looking at the
callers of flush_all() in mm/slub.c, the change looks okay, but it's
still bit strange on_each_cpu() works that way on UP.

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

Messages in current thread:
SLUB: simplify re on_each_cpu(), Alexey Dobriyan, (Wed Jul 16, 10:29 am)
Re: SLUB: simplify re on_each_cpu(), Christoph Lameter, (Wed Jul 16, 10:36 am)
Re: SLUB: simplify re on_each_cpu(), Pekka Enberg, (Wed Jul 16, 1:58 pm)
Re: SLUB: simplify re on_each_cpu(), Robin Holt, (Thu Jul 17, 4:38 am)
Re: SLUB: simplify re on_each_cpu(), Pekka Enberg, (Thu Jul 17, 5:26 am)
Re: SLUB: simplify re on_each_cpu(), Robin Holt, (Thu Jul 17, 5:39 am)
Re: SLUB: simplify re on_each_cpu(), Vegard Nossum, (Thu Jul 17, 5:55 am)