Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5169750imu; Tue, 25 Dec 2018 20:02:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xm9ySzqKFfpno/BMaGGWEoCxL3kewZNQdQXzbMoJxCPvK+GPm4V2oINSl0edh0EAYU1V4f X-Received: by 2002:a62:16d6:: with SMTP id 205mr18641968pfw.256.1545796967507; Tue, 25 Dec 2018 20:02:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545796967; cv=none; d=google.com; s=arc-20160816; b=ImYK52h6RMTCMg6wYR1eWq+j7aPx34rlWyd/XUgjjqAyJKFqRyLLWYxXjNHbYH7Q1X GnYn7s/nhQ1wmxIJjVtfKAJZgDo8EQxA9X8Vp9pfxINBG7lXKpn16iT/rBJMTDBNmBH+ fAvTNr2Vln7jRZEesb6qZbLE4waAdwaMtBg2oRdqkaSS3TCD6ueQqHDHZFS6SbJYxiYy 0/ppYx6Lfhyn+1DEpVsvyJyYiB6XiHFTVndMi1CIal4umUKoYf/iYrkcI5NbJ/N+TX7I wjKwY/cqMgHi6AHXXbfg6lLii3apMpM052Dzi9qMKkjPYQqmEk8tY/wR4mTFSUh06Z3c vWzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WCDuoDj52772E6sktSbR8iGKifRgJ2sXlUbhU4Zt/0o=; b=pb6om//4THzVtcn7hTY7PP7tJiqUC97lkxWIP/o9ESJ/PvPy+ZEt4c0wbUX1gpObos q4WtDelEoqMu6WzcaySsUu3lmU0eum2q4zH9yLcuZOfeOxot6hT92KSzI50xMaEcwSeE jj00eKqeVR/gCml8edCE97rzVJuSqziIAmjHnTWa3AThNFuSBdWxKcvfvr9gckACdh0j 0SdrMQqctvod8pB2ACgufEWYysp2SMoKMwMSlxrG7OZf7TYMcp1WZGeaREQZbTNzwPli qgv+Dad2yHj/+HDvp23n/wE9KK5jykXgD2mLebP/GsE+8rIY43NVXInZAtIle2BoH5Oo fQww== 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 k22si27576235pgl.29.2018.12.25.20.02.32; Tue, 25 Dec 2018 20:02:47 -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 S1726044AbeLZDhH (ORCPT + 99 others); Tue, 25 Dec 2018 22:37:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34232 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbeLZDhH (ORCPT ); Tue, 25 Dec 2018 22:37:07 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DD63E81DED; Wed, 26 Dec 2018 03:37:06 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-157.pek2.redhat.com [10.72.12.157]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2F5E5104C456; Wed, 26 Dec 2018 03:37:01 +0000 (UTC) Date: Wed, 26 Dec 2018 11:36:58 +0800 From: Dave Young To: lijiang 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 Subject: Re: [PATCH 1/2 v3] kdump: add the vmcoreinfo documentation Message-ID: <20181226033658.GB13822@dhcp-128-65.nay.redhat.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181226032433.GB13556@dhcp-128-65.nay.redhat.com> User-Agent: Mutt/1.9.5 (2018-04-13) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 26 Dec 2018 03:37:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Lianbo, it would be good to cc Dave and Kazu for these patches, could you cc them in your next post? > > Thanks > Dave Thanks Dave