From: Nick Piggin <npiggin@suse.de>
To: "Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br>
Cc: Christoph Lameter <clameter@sgi.com>,
Linux Memory Management List <linux-mm@kvack.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [rfc] SLQB: YASA
Date: Wed, 9 Apr 2008 04:10:19 +0200 [thread overview]
Message-ID: <20080409021019.GA23602@wotan.suse.de> (raw)
In-Reply-To: <20080408155142.4b421497@mandriva.com.br>
On Tue, Apr 08, 2008 at 03:51:42PM -0300, Luiz Fernando N. Capitulino wrote:
> Em Tue, 8 Apr 2008 13:57:17 +0200
> Nick Piggin <npiggin@suse.de> escreveu:
>
> | Here is my more working version of SLQB.
> |
> | Was experimenting with a couple of different ways to do remote freeing,
> | but it is really hard to tune properly without having "real" workloads,
> | due to cache effects.
> |
> | Anyway, same comments apply. Patch is against mainline.
>
> I get the following error when compiling without CONFIG_SMP
>
> """
> In file included from include/linux/rcupdate.h:52,
> from include/linux/slqb_def.h:15,
> from include/linux/slab.h:121,
> from include/asm/pgtable_32.h:22,
> from include/asm/pgtable.h:241,
> from include/linux/mm.h:40,
> from arch/x86/kernel/pci-dma_32.c:12:
> include/linux/percpu.h: In function '__percpu_alloc_mask':
> include/linux/percpu.h:106: error: implicit declaration of function 'kzalloc'
> include/linux/percpu.h:106: warning: return makes pointer from integer without a cast
> In file included from include/asm/pgtable_32.h:22,
> from include/asm/pgtable.h:241,
> from include/linux/mm.h:40,
> from arch/x86/kernel/pci-dma_32.c:12:
> include/linux/slab.h: At top level:
> include/linux/slab.h:272: error: conflicting types for 'kzalloc'
> include/linux/percpu.h:106: error: previous implicit declaration of 'kzalloc' was here
> ICECC[27645] 15:49:30: Compiled on XXXXXXXX
> make[1]: *** [arch/x86/kernel/pci-dma_32.o] Error 1
> make: *** [arch/x86/kernel] Error 2
>
> """
>
> Could not figure out what the problem is.
Hmm, it seems like some kind of recursive dep, but somehow it goes away
with SMP, so it must be fixable... I'll take a further look.
> Regarding performance tests, I saw that Christoph has some
> interesting test modules in his git repository. Do you think it's
> worth to run them?
I have tried some of them, yes. Performance comparisons vary depending on
machine and workload, but I'd say it is mostly competitive. But those
tests are quite basic and are very far from real world situations. They
are very good for some cases showing where you might have a problem, but
not so useful when comparing 2 different allocators.
prev parent reply other threads:[~2008-04-09 2:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-03 7:25 Nick Piggin
2008-04-03 7:45 ` Pekka Enberg
2008-04-03 7:57 ` Nick Piggin
2008-04-03 8:13 ` Nick Piggin
2008-04-03 8:24 ` Pekka Enberg
2008-04-03 8:32 ` Nick Piggin
2008-04-03 8:17 ` KOSAKI Motohiro
2008-04-03 8:26 ` Nick Piggin
2008-04-03 8:33 ` KOSAKI Motohiro
2008-04-03 8:41 ` Andi Kleen
2008-04-03 14:23 ` Nick Piggin
2008-04-03 19:04 ` Luiz Fernando N. Capitulino
2008-04-03 19:12 ` Christoph Lameter
2008-04-08 11:57 ` Nick Piggin
2008-04-08 18:51 ` Luiz Fernando N. Capitulino
2008-04-09 2:10 ` Nick Piggin [this message]
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=20080409021019.GA23602@wotan.suse.de \
--to=npiggin@suse.de \
--cc=clameter@sgi.com \
--cc=lcapitulino@mandriva.com.br \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®