From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751519AbdJWCEf (ORCPT ); Sun, 22 Oct 2017 22:04:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45270 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751215AbdJWCEe (ORCPT ); Sun, 22 Oct 2017 22:04:34 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 67F7E7E42A Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dyoung@redhat.com Date: Mon, 23 Oct 2017 10:04:26 +0800 From: Dave Young To: Yinghai Lu Cc: "kexec@lists.infradead.org" , Linux Kernel Mailing List , Andrew Morton , Baoquan He , Vivek Goyal Subject: Re: x86/kdump: crashkernel=X try to reserve below 896M first then below 4G and MAXMEM Message-ID: <20171023020426.GA3240@dhcp-128-65.nay.redhat.com> References: <20171020055254.GA7095@dhcp-128-65.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 23 Oct 2017 02:04:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/21/17 at 12:20am, Yinghai Lu wrote: > On Thu, Oct 19, 2017 at 10:52 PM, Dave Young wrote: > > Now crashkernel=X will fail if there's not enough memory at low region > > (below 896M) when trying to reserve large memory size. One can use > > crashkernel=xM,high to reserve it at high region (>4G) but it is more > > convinient to improve crashkernel=X to: > > > > - First try to reserve X below 896M (for being compatible with old > > kexec-tools). > > - If fails, try to reserve X below 4G (swiotlb need to stay below 4G). > > - If fails, try to reserve X from MAXMEM top down. > > > > It's more transparent and user-friendly. > > ok with me. Thank you! > > But looks like last time Vivek did not like this idea. >>From the old discussion I remember Vivek was fine with this patch: https://lkml.org/lkml/2013/10/15/601 Thanks Dave From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e6S6q-0002P9-1m for kexec@lists.infradead.org; Mon, 23 Oct 2017 02:04:58 +0000 Date: Mon, 23 Oct 2017 10:04:26 +0800 From: Dave Young Subject: Re: x86/kdump: crashkernel=X try to reserve below 896M first then below 4G and MAXMEM Message-ID: <20171023020426.GA3240@dhcp-128-65.nay.redhat.com> References: <20171020055254.GA7095@dhcp-128-65.nay.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=infradead.org@lists.infradead.org To: Yinghai Lu Cc: Andrew Morton , "kexec@lists.infradead.org" , Linux Kernel Mailing List , Baoquan He , Vivek Goyal On 10/21/17 at 12:20am, Yinghai Lu wrote: > On Thu, Oct 19, 2017 at 10:52 PM, Dave Young wrote: > > Now crashkernel=X will fail if there's not enough memory at low region > > (below 896M) when trying to reserve large memory size. One can use > > crashkernel=xM,high to reserve it at high region (>4G) but it is more > > convinient to improve crashkernel=X to: > > > > - First try to reserve X below 896M (for being compatible with old > > kexec-tools). > > - If fails, try to reserve X below 4G (swiotlb need to stay below 4G). > > - If fails, try to reserve X from MAXMEM top down. > > > > It's more transparent and user-friendly. > > ok with me. Thank you! > > But looks like last time Vivek did not like this idea. >From the old discussion I remember Vivek was fine with this patch: https://lkml.org/lkml/2013/10/15/601 Thanks Dave _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec