Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765714AbZDAAWn (ORCPT ); Tue, 31 Mar 2009 20:22:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765655AbZDAAWA (ORCPT ); Tue, 31 Mar 2009 20:22:00 -0400 Received: from hera.kernel.org ([140.211.167.34]:49010 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765651AbZDAAV6 (ORCPT ); Tue, 31 Mar 2009 20:21:58 -0400 Message-ID: <49D2B2DC.9000401@kernel.org> Date: Wed, 01 Apr 2009 09:18:36 +0900 From: Tejun Heo User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: Christoph Lameter CC: Ingo Molnar , Martin Schwidefsky , rusty@rustcorp.com.au, tglx@linutronix.de, x86@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com, Paul Mundt , rmk@arm.linux.org.uk, starvik@axis.com, ralf@linux-mips.org, davem@davemloft.net, cooloney@kernel.org, kyle@mcmartin.ca, matthew@wil.cx, grundler@parisc-linux.org, takata@linux-m32r.org, benh@kernel.crashing.org, rth@twiddle.net, ink@jurassic.park.msu.ru, heiko.carstens@de.ibm.com, Linus Torvalds , Nick Piggin Subject: Re: [PATCH UPDATED] percpu: use dynamic percpu allocator as the default percpu allocator References: <1236671631-9305-1-git-send-email-tj@kernel.org> <20090316190132.7965a49a@skybase> <49C300D8.5080204@kernel.org> <49C8FAC4.6060508@kernel.org> <20090325122738.42d105b7@skybase> <49CA1AC3.9080908@kernel.org> <20090325150035.541e707a@skybase> <49CA3C2C.5030702@kernel.org> <49D099F0.3000807@kernel.org> <20090330114938.GB10070@elte.hu> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (hera.kernel.org [127.0.0.1]); Wed, 01 Apr 2009 00:18:40 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1099 Lines: 29 Hello, Christoph Lameter wrote: > Needs additional feedback and review by Tejun I would think. Just compile > tested so far. The removal of the rbtree also relaxes locking restrictions > for pcpu_chunk_address_search (which is not really searching anymore). > > Subject: dynamic percpu allocator: Remove rbtree > > The rbtree is used to determine the chunk from the virtual address. However, > we can already determine the page struct from a virtual address and there > are several unused fields in page struct used by vmalloc. Use the index > field to store a pointer to the chunk. Then there is no need anymore for > an rbtree. > > Signed-off-by: Christoph Lameter This is great. I'll integrate the patch and test it soonish but with LSF on the next week, I'll probably be slow during the next two weeks. Thanks a lot. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/