Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932611Ab3DBPkS (ORCPT ); Tue, 2 Apr 2013 11:40:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12243 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932491Ab3DBPkR (ORCPT ); Tue, 2 Apr 2013 11:40:17 -0400 Date: Tue, 2 Apr 2013 11:39:57 -0400 From: Vivek Goyal To: Yinghai Lu Cc: "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , WANG Chao , "Eric W. Biederman" , Linux Kernel Mailing List Subject: Re: [PATCH] kexec: use Crash kernel for Crash kernel low Message-ID: <20130402153957.GG29506@redhat.com> References: <20130401192606.GA17951@redhat.com> <5159F27E.7060300@zytor.com> <515A03DB.6040107@zytor.com> <515A083B.7050508@zytor.com> <20130402135001.GC29506@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1258 Lines: 32 On Tue, Apr 02, 2013 at 07:45:36AM -0700, Yinghai Lu wrote: [..] > 2. keep thing unified when new kexec-tools is used: always high. I think this is wrong. What if system does not have more than 4G of memory. crashkernel=x,high will fail. So just because we have new version of kexec-tools, it does not mean that one can always use crashkernel=x,high. I think we should do two things. - Extend crashkernel=X to search for memory below 896M, 4G, MAXMEM in that order. To me, this will work best for most of the users. - For users who really care to not allocate memory in low memory ranges, they can use crashkernel=X,high. But even there syntax should be that look for memory in higher ranges first otherwise allocate from low regions. Otherwise it makes life very difficult for a user when there is no memory available in higher addresses but it is available in low addresses. How does one automate that. In current form, I double crashkernel=X,high is going to be very useful. Thanks Vivek -- 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/