From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759509AbZBYEym (ORCPT ); Tue, 24 Feb 2009 23:54:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755707AbZBYEyc (ORCPT ); Tue, 24 Feb 2009 23:54:32 -0500 Received: from hera.kernel.org ([140.211.167.34]:60691 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755508AbZBYEyb (ORCPT ); Tue, 24 Feb 2009 23:54:31 -0500 Message-ID: <49A4CEE1.7090003@kernel.org> Date: Wed, 25 Feb 2009 13:53:53 +0900 From: Tejun Heo User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: Johannes Weiner CC: Ingo Molnar , hpa@zytor.com, mingo@redhat.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org Subject: Re: [tip:core/percpu] bootmem: clean up arch-specific bootmem wrapping References: <20090224214638.GA2049@cmpxchg.org> <20090224214932.GC12601@elte.hu> <20090224234949.GA1778@cmpxchg.org> <49A4ACAE.4020104@kernel.org> <20090225024316.GA1738@cmpxchg.org> <49A4CE93.3070908@kernel.org> In-Reply-To: <49A4CE93.3070908@kernel.org> 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, 25 Feb 2009 04:53:57 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tejun Heo wrote: > This patch drops the generic wrapping around alloc_bootmem_core() and > add alloc_bootmem_core() instead. If necessary, arch can define ^^^^^^^^^^^^^^^^^^^^ should have been alloc_arch_preferred_bootmem() > bootmem_arch_referred_node() macro or function which takes all > allocation information and returns the preferred node. bootmem > generic code will always try the preferred node first and then > fallback to other nodes as usual. -- tejun