Re: [git pull] more SLUB updates for 2.6.25

2008-02-09 Thread Eric Dumazet
Christoph Lameter a écrit : On Fri, 8 Feb 2008, Eric Dumazet wrote: And SLAB/SLUB allocators, even if only used from process context, want to disable/re-enable interrupts... Not any more. The new fastpath does allow avoiding interrupt enable/disable and we will be hopefully able to

Re: [git pull] more SLUB updates for 2.6.25

2008-02-09 Thread Eric Dumazet
Christoph Lameter a écrit : On Fri, 8 Feb 2008, Eric Dumazet wrote: And SLAB/SLUB allocators, even if only used from process context, want to disable/re-enable interrupts... Not any more. The new fastpath does allow avoiding interrupt enable/disable and we will be hopefully able to

Re: [git pull] more SLUB updates for 2.6.25

2008-02-08 Thread Andi Kleen
Eric Dumazet <[EMAIL PROTECTED]> writes: > > What about IRQ masking then ? > > Many CPU pay high cost for cli/sti pair... Many? In the x86 world only P4. On the other cores cli/sti (and even pushf ; cli ; popf) is reasonably fast. > > And SLAB/SLUB allocators, even if only used from process

Re: [git pull] more SLUB updates for 2.6.25

2008-02-08 Thread Christoph Lameter
On Fri, 8 Feb 2008, Eric Dumazet wrote: > And SLAB/SLUB allocators, even if only used from process context, want to > disable/re-enable interrupts... Not any more. The new fastpath does allow avoiding interrupt enable/disable and we will be hopefully able to increase the scope of that over

Re: [git pull] more SLUB updates for 2.6.25

2008-02-08 Thread Nick Piggin
On Friday 08 February 2008 18:29, Eric Dumazet wrote: > Nick Piggin a écrit : > > On Friday 08 February 2008 13:13, Christoph Lameter wrote: > >> are available in the git repository at: > >> > >> git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm.git > >> slub-linus > >> > >> (includes

Re: [git pull] more SLUB updates for 2.6.25

2008-02-08 Thread Andi Kleen
Eric Dumazet [EMAIL PROTECTED] writes: What about IRQ masking then ? Many CPU pay high cost for cli/sti pair... Many? In the x86 world only P4. On the other cores cli/sti (and even pushf ; cli ; popf) is reasonably fast. And SLAB/SLUB allocators, even if only used from process context,

Re: [git pull] more SLUB updates for 2.6.25

2008-02-07 Thread Eric Dumazet
Nick Piggin a écrit : On Friday 08 February 2008 13:13, Christoph Lameter wrote: are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm.git slub-linus (includes the cmpxchg_local fastpath since the cmpxchg_local work by Matheiu is in now, and the

Re: [git pull] more SLUB updates for 2.6.25

2008-02-07 Thread Nick Piggin
On Friday 08 February 2008 13:13, Christoph Lameter wrote: > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm.git slub-linus > > (includes the cmpxchg_local fastpath since the cmpxchg_local work > by Matheiu is in now, and the non atomic

[git pull] more SLUB updates for 2.6.25

2008-02-07 Thread Christoph Lameter
are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm.git slub-linus (includes the cmpxchg_local fastpath since the cmpxchg_local work by Matheiu is in now, and the non atomic unlock by Nick. Verified that this is not doing any harm after some

[git pull] more SLUB updates for 2.6.25

2008-02-07 Thread Christoph Lameter
are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm.git slub-linus (includes the cmpxchg_local fastpath since the cmpxchg_local work by Matheiu is in now, and the non atomic unlock by Nick. Verified that this is not doing any harm after some

Re: [git pull] more SLUB updates for 2.6.25

2008-02-07 Thread Nick Piggin
On Friday 08 February 2008 13:13, Christoph Lameter wrote: are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm.git slub-linus (includes the cmpxchg_local fastpath since the cmpxchg_local work by Matheiu is in now, and the non atomic unlock by

Re: [git pull] more SLUB updates for 2.6.25

2008-02-07 Thread Eric Dumazet
Nick Piggin a écrit : On Friday 08 February 2008 13:13, Christoph Lameter wrote: are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm.git slub-linus (includes the cmpxchg_local fastpath since the cmpxchg_local work by Matheiu is in now, and the