Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5256182imu; Tue, 25 Dec 2018 22:33:21 -0800 (PST) X-Google-Smtp-Source: AFSGD/UmxQSzoyP9oMbCjF1ShgiLTsaICudUkig9ZWi2fVcM3SDBVPlha/hT0hLa1XFJA4FZ4/KM X-Received: by 2002:a62:ab0d:: with SMTP id p13mr19079331pff.211.1545806001675; Tue, 25 Dec 2018 22:33:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545806001; cv=none; d=google.com; s=arc-20160816; b=jyMQkJsVCVrdSWVnOhoVbFZ5Wag9TmFOY5PvTcnUfgbudzNilssOMdX7NvtqRaGOCO qnI+5ppLKhTrxp54pihxypKBp/0mRBM7k/eb8SlMambBmeJ5qL0vPV27D9KGaRYGJVzH X5QiR4pBqYF51SJEZf5tRS2zNw1jM0H0b2CJ7qLKgR5DQ6GRVQLIAj2ghid9zf4+RPbz ffAObVB3bvRYUPFgIzB3GCmCxEiDBaw9aS6RfzwcxAD+RgBbvWk42JVjKKD6lGLmlbp8 znIg7y9y3BTM4dLCvFmX8iP5LVC/PIozfMyesg3/IXXmdBVwfIyBOEfc7kLWNRpy4V+c Lm6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=127sc3kaSpmCyGuIi2LUMnv2HXZugXBY33+0xfigI8A=; b=pDOLE7MBAS1QAT10GjdsEqb4aruurXOlFF+8ZRZdkxhVnMrlLsns8dvl6dE2WIRmKM mCEY4D1mF8Sl525Ct2/LEiMdG9R6guG7HFK8g925+wxkdKHAotA1nziBRTrn5e91P+6U +hWCdhu8fpzJuhXRVHo8UClYddPxUibtj09LJ+ADEXwMWY74ps81QmEzDq9wAf9b9Bnj 154dR6nt3tl2aV1HyzOfqu03c+rEJ/pyVIORNoepL+EVjMO7QGoLAQmSyZ+55sTCkp2I /QIZwTRoTgHae0aPylpGAT7mJd7ObHzglfX8cE9pIWW+T6GuawvBO+8E/axe261UNpJj 4RCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x186si20625767pfx.269.2018.12.25.22.32.51; Tue, 25 Dec 2018 22:33:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726033AbeLZGOy (ORCPT + 99 others); Wed, 26 Dec 2018 01:14:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39658 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725869AbeLZGOx (ORCPT ); Wed, 26 Dec 2018 01:14:53 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A68DFA4042; Wed, 26 Dec 2018 06:14:53 +0000 (UTC) Received: from localhost.localdomain (ovpn-12-27.pek2.redhat.com [10.72.12.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B20606111A; Wed, 26 Dec 2018 06:14:44 +0000 (UTC) Subject: Re: [PATCH 1/2 v3] kdump: add the vmcoreinfo documentation To: Dave Young Cc: Borislav Petkov , bhe@redhat.com, linux-doc@vger.kernel.org, x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de, akpm@linux-foundation.org, anderson@redhat.com, Kazuhito Hagio References: <20181216131617.2612-1-lijiang@redhat.com> <20181216131617.2612-2-lijiang@redhat.com> <20181217130024.GD12165@zn.tnic> <826c1a6b-41da-bc1a-f9c2-0d52e774b572@redhat.com> <20181226032433.GB13556@dhcp-128-65.nay.redhat.com> <20181226033658.GB13822@dhcp-128-65.nay.redhat.com> From: lijiang Message-ID: Date: Wed, 26 Dec 2018 14:14:40 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181226033658.GB13822@dhcp-128-65.nay.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 26 Dec 2018 06:14:53 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2018年12月26日 11:36, Dave Young 写道: > On 12/26/18 at 11:24am, Dave Young wrote: >>>>> + >>>>> +KERNEL_IMAGE_SIZE >>>>> +================= >>>>> +The size of 'KERNEL_IMAGE_SIZE', currently unused. >>>> >>>> So remove? >>>> >>> >>> I'm not sure whether it should be removed, so i keep it. >> >> Just remove it. It was added by Baoquan for KASLR issues, later >> makedumpfile reverted the userspace part and added other implementation. >> >> In case old makedumpfile does not support new kernel, it has some kernel >> versions support list in code, thus no worry about the compatibility >> issue. > > Ah, it is not unused actually, clone crash tool git: > $ git grep KERNEL_IMAGE_SIZE > x86_64.c: if ((string = pc->read_vmcoreinfo("NUMBER(KERNEL_IMAGE_SIZE)"))) { > > So in the documentation, the use cases of crash tool should also be > covered. > Sure, maybe only this one was ignored. I will improve this variable in the documentation. > Lianbo, it would be good to cc Dave and Kazu for these patches, could > you cc them in your next post? > Yes, i will add Dave and Kazu, and also resend patch v4. Thanks. >> >> Thanks >> Dave > > Thanks > Dave >