From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VZQQp-0002yN-UY for kexec@lists.infradead.org; Thu, 24 Oct 2013 19:18:56 +0000 Date: Thu, 24 Oct 2013 15:18:21 -0400 From: Vivek Goyal Subject: Re: [PATCH] x86, kdump: crashkernel=X try to reserve below 896M first, then try below 4G, then MAXMEM Message-ID: <20131024191821.GE2322@redhat.com> References: <1381751200-27376-1-git-send-email-chaowang@redhat.com> <20131015144810.GI31215@redhat.com> <20131018123837.GB2277@redhat.com> <20131021151643.GA20669@redhat.com> <20131024140241.GA2322@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Yinghai Lu Cc: "kexec@lists.infradead.org" , Jacob Shin , Linux Kernel Mailing List , Pekka Enberg , Ingo Molnar , "Eric W. Biederman" , "H. Peter Anvin" , Thomas Gleixner , Andrew Morton , WANG Chao On Thu, Oct 24, 2013 at 12:15:25PM -0700, Yinghai Lu wrote: > On Thu, Oct 24, 2013 at 7:02 AM, Vivek Goyal wrote: > > On Wed, Oct 23, 2013 at 11:11:51PM -0700, Yinghai Lu wrote: > > > > Hence both crashkernel=xM and crashkernel=XM,high have their own usage. > > We have been using crashkernel=xM and we know it works. So extending it > > to be able to allocate memory from higher regions, if sufficient memory > > is not available in lower regions makes sense. Memory reservation below > > 4G is more efficient due to not requiring swiotlb. And crashkernel=xM > > has been working for us and users are familiar with it. > > > > So I don't see a point that why would you try to block any move to > > extend crashkernel=xM semantics. > > Make the thing simple. > Keep them separately, leave crashkernel=xM to old kexec-tools mostly > and keep crashkernel=xM,high to newer kexec-tools as needed. I am keeping things simple by making sure that both old kexec-tools and new kexec-tools can use crashkernel=xM and one does not have to choose between two based on what kexec-tools version you are using. Also keeping things simple by not trying to *impose* a new crashkernel= syntax on existing crashkernel=xM users. Hence extending the semantics of crashkernel=xM makes sense to me. Thanks Vivek _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec