From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758201AbYDHSv5 (ORCPT ); Tue, 8 Apr 2008 14:51:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756288AbYDHSvt (ORCPT ); Tue, 8 Apr 2008 14:51:49 -0400 Received: from perninha.conectiva.com.br ([200.140.247.100]:46537 "EHLO perninha.conectiva.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753283AbYDHSvt (ORCPT ); Tue, 8 Apr 2008 14:51:49 -0400 Date: Tue, 8 Apr 2008 15:51:42 -0300 From: "Luiz Fernando N. Capitulino" To: Nick Piggin Cc: Christoph Lameter , Linux Memory Management List , Linux Kernel Mailing List Subject: Re: [rfc] SLQB: YASA Message-ID: <20080408155142.4b421497@mandriva.com.br> In-Reply-To: <20080408115717.GB22687@wotan.suse.de> References: <20080403072550.GC25932@wotan.suse.de> <20080408115717.GB22687@wotan.suse.de> Organization: Mandriva X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i586-mandriva-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, 8 Apr 2008 13:57:17 +0200 Nick Piggin 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. 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? -- Luiz Fernando N. Capitulino