From: Andi Kleen <andi@firstfloor.org>
To: Eric Dumazet <dada1@cosmosbay.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>,
Christoph Lameter <clameter@sgi.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
linux-mm@kvack.org
Subject: Re: [git pull] more SLUB updates for 2.6.25
Date: 08 Feb 2008 15:58:05 +0100 [thread overview]
Message-ID: <87ve4z1on6.fsf@basil.nowhere.org> (raw)
In-Reply-To: <47AC04CD.9090407@cosmosbay.com>
Eric Dumazet <dada1@cosmosbay.com> 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
WARNING: multiple messages have this Message-ID (diff)
From: Andi Kleen <andi@firstfloor.org>
To: Eric Dumazet <dada1@cosmosbay.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>,
Christoph Lameter <clameter@sgi.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
linux-mm@kvack.org
Subject: Re: [git pull] more SLUB updates for 2.6.25
Date: 08 Feb 2008 15:58:05 +0100 [thread overview]
Message-ID: <87ve4z1on6.fsf@basil.nowhere.org> (raw)
In-Reply-To: <47AC04CD.9090407@cosmosbay.com>
Eric Dumazet <dada1@cosmosbay.com> 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2008-02-08 14:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 2:13 [git pull] more SLUB updates for 2.6.25 Christoph Lameter
2008-02-08 2:13 ` Christoph Lameter
2008-02-08 7:12 ` Nick Piggin
2008-02-08 7:12 ` Nick Piggin
2008-02-08 7:29 ` Eric Dumazet
2008-02-08 7:29 ` Eric Dumazet
2008-02-08 8:08 ` Nick Piggin
2008-02-08 8:08 ` Nick Piggin
2008-02-08 8:10 ` Christoph Lameter
2008-02-08 8:10 ` Christoph Lameter
2008-02-09 11:25 ` Eric Dumazet
2008-02-09 11:25 ` Eric Dumazet
2008-02-08 14:58 ` Andi Kleen [this message]
2008-02-08 14:58 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ve4z1on6.fsf@basil.nowhere.org \
--to=andi@firstfloor.org \
--cc=akpm@linux-foundation.org \
--cc=clameter@sgi.com \
--cc=dada1@cosmosbay.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=nickpiggin@yahoo.com.au \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.