From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [git pull] more SLUB updates for 2.6.25 References: <200802081812.22513.nickpiggin@yahoo.com.au> <47AC04CD.9090407@cosmosbay.com> From: Andi Kleen Date: 08 Feb 2008 15:58:05 +0100 In-Reply-To: <47AC04CD.9090407@cosmosbay.com> Message-ID: <87ve4z1on6.fsf@basil.nowhere.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org Return-Path: To: Eric Dumazet Cc: Nick Piggin , Christoph Lameter , Linus Torvalds , Andrew Morton , LKML , linux-mm@kvack.org List-ID: Eric Dumazet 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, want > to disable/re-enable interrupts... > > I understand kmalloc() want generic pools, but dedicated pools could > avoid this cli/sti While there are a lot of P4s around they are obsolete by now and I would advise against major redesigns for tuning obsolete CPUs. -Andi -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org