From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751398AbdJXFkP (ORCPT ); Tue, 24 Oct 2017 01:40:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48384 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750783AbdJXFkN (ORCPT ); Tue, 24 Oct 2017 01:40:13 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3133F883AB Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dyoung@redhat.com X-Mailbox-Line: From dyoung@redhat.com Tue Oct 24 13:39:01 2017 Message-Id: <20171024053147.493545734@redhat.com> User-Agent: quilt/0.65 Date: Tue, 24 Oct 2017 13:31:47 +0800 From: dyoung@redhat.com To: kexec@lists.infradead.org, linux-kernel@vger.kernel.org Cc: akpm@linux-foundation.org, bhe@redhat.com, vgoyal@redhat.com, yinghai@kernel.org, corbet@lwn.net, dyoung@redhat.com Subject: [PATCH 0/3] kdump: crashkernel parameter improvement X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 24 Oct 2017 05:40:13 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Here is a try to improve current crashkernel kernel parameter Patch 1/3 adds an extra functionality so that one can use like crashkernel=2G-:128M^12 to reserve 128M for 2G+ machine but also scale the size based on system memory, that means 128M + (total_mem - 128M) >> 12 Patch 2/3 is a resending of previous post to let crashkernel=xM to reserve first from below 896M, then <4G, then