From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 07/31] lmb: Add reserve_lmb/free_lmb Date: Tue, 30 Mar 2010 16:29:10 +1100 Message-ID: <1269926950.7101.47.camel@pasglop> References: <1269830604-26214-1-git-send-email-yinghai@kernel.org> <1269830604-26214-8-git-send-email-yinghai@kernel.org> <1269865322.24620.42.camel@concordia> <4BB0D92C.3010103@kernel.org> <1269901252.2286.11.camel@concordia> <4BB12BBA.4060108@kernel.org> <1269905664.7101.43.camel@pasglop> <4BB13D61.3040902@kernel.org> <1269922383.15854.68.camel@concordia> <4BB17C36.3030406@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from gate.crashing.org ([63.228.1.57]:53070 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752242Ab0C3Fas (ORCPT ); Tue, 30 Mar 2010 01:30:48 -0400 In-Reply-To: <4BB17C36.3030406@kernel.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Yinghai Lu Cc: michael@ellerman.id.au, Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , David Miller , Linus Torvalds , Johannes Weiner , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org On Mon, 2010-03-29 at 21:21 -0700, Yinghai Lu wrote: > > if someone want to find some area, but not going to access that range, > then we should let them alloc it. > > how about access_limit? No, no you don't get it. default_alloc_limit is fine. It's the -default- limit. It doesn't apply to lmb_alloc_base() that takes an explicit limit... Something along those lines. Cheers, Ben.