From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yinghai Lu Subject: Re: [PATCH 20/31] lmb: Add __NOT_KEEP_LMB to put lmb code to .init Date: Mon, 29 Mar 2010 09:20:28 -0700 Message-ID: <4BB0D34C.7060509@kernel.org> References: <1269830604-26214-1-git-send-email-yinghai@kernel.org> <1269830604-26214-21-git-send-email-yinghai@kernel.org> <1269864470.24620.15.camel@concordia> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from hera.kernel.org ([140.211.167.34]:52141 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753498Ab0C2QWs (ORCPT ); Mon, 29 Mar 2010 12:22:48 -0400 In-Reply-To: <1269864470.24620.15.camel@concordia> Sender: linux-arch-owner@vger.kernel.org List-ID: To: michael@ellerman.id.au Cc: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , David Miller , Benjamin Herrenschmidt , Linus Torvalds , Johannes Weiner , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org On 03/29/2010 05:07 AM, Michael Ellerman wrote: > On Sun, 2010-03-28 at 19:43 -0700, Yinghai Lu wrote: >> So those lmb bits could released after kernel is booted up. >> >> Arch code could define __NOT_KEEP_LMB in asm/lmb.h, __init_lmb will become __init > > ARCH_KEEP_LMB or ARCH_DISCARD_LMB, or something like that, would be more > in keeping with existing flags like this. > ok, will use ARCH_DISCARD_LMB. BTW, it seems only PowerPC need to keep lmb after init stage, right ? Thanks Yinghai