Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2543369imu; Mon, 17 Dec 2018 03:55:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/VeGS5xjN1TcdsvaWGQvG2Y8FKLgTmz87eq5b+rRq/5ssWsriMe6981HrvXk3jbB+ztD9iA X-Received: by 2002:a63:e348:: with SMTP id o8mr11702402pgj.158.1545047730853; Mon, 17 Dec 2018 03:55:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545047730; cv=none; d=google.com; s=arc-20160816; b=Um+Trg1OGH63QJ71LJ1QoDsPRcaNLw/m/oPQmw/zpdFMtKvPV4rYwSMrZqbSWoA1pU jOCeGmrRKWtQy+ARGmNRPcPgpkGZ/8JZA1jl42EuZeWF1NZzpBRCk1U3+dfgSy+nRS2v 34gKae0sJfnSlVTeF4rkGA2hrtwRoE5b6bQOch0dNIPMGr2VYPBynSpefyfGrDyzcVg0 Zc9pFmat1paGueg5XX+szSXTulCXlE9AqoQ7L/c6/E0mjd/7ZjCwwedAPzGsPFmizQKU kSVT7+kUInSWo8D9hgT//4wTNqKmQBodl31ZIdZEkvZNhXHc9jcJITM4CK6HPUKsGqF/ wPKA== 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:dkim-signature; bh=PI0dugphtFY80Bhv4IO35Z80Pef4adWfD6CI9pzJocA=; b=phCc6D9mImvrdbrrXH243P3iKtopu6dcNCiLG2hU1mRELJaDhKTI6t38Vsge/YU7Y4 rQY7/0mzLX2au+s02OlmiDyKY4GiRw8dfmafIDuty+Kf5QSZ70GH324q3Xhhire/Bt4X N+xl/Y5imFbA0bb0qSVZ/qE/DjrQcCeQzA4ANSFzYVS6rys8GTiAWLeAGcygWiqLXz7U jivQXylyntDicENL5E7sQaEM8XwVgiGexnIxplobMymb4PsfDAYQKF+xdB1hD1pr5PcR 68XVBLWe2MaXykAbRf0umi7pPy2IMmtjHgjkEZtA3qRt1Rd/9ldA4BTO/YcUYVExcuFz uC2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=Q5Jow4qB; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si11374168pfm.37.2018.12.17.03.55.15; Mon, 17 Dec 2018 03:55:30 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b=Q5Jow4qB; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732415AbeLQLwy (ORCPT + 99 others); Mon, 17 Dec 2018 06:52:54 -0500 Received: from mail.skyhub.de ([5.9.137.197]:51124 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726831AbeLQLwy (ORCPT ); Mon, 17 Dec 2018 06:52:54 -0500 Received: from zn.tnic (p200300EC2BC8CE0001731E093D136BFD.dip0.t-ipconnect.de [IPv6:2003:ec:2bc8:ce00:173:1e09:3d13:6bfd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 0515E1EC023A; Mon, 17 Dec 2018 12:52:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1545047572; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=PI0dugphtFY80Bhv4IO35Z80Pef4adWfD6CI9pzJocA=; b=Q5Jow4qBDEcJMKZdDWuCaRiNKSpo0RKtddOgilIcJHlh8HK97AQEZ6aI6yXVjIRW1tOfu+ yrXpONisSaBnpOcIUS33AjraLszYSPdGmddHkX+k+aj7ZMzs4HGEH2yaba6vsJipNfFoQh N1unHWdp6A+2BlyiApDB0ImNfLtg0ZA= Date: Mon, 17 Dec 2018 12:52:45 +0100 From: Borislav Petkov To: Lianbo Jiang Cc: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, akpm@linux-foundation.org, bhe@redhat.com, dyoung@redhat.com, linux-doc@vger.kernel.org Subject: Re: [PATCH 1/2 v3] kdump: add the vmcoreinfo documentation Message-ID: <20181217115245.GA12165@zn.tnic> References: <20181216131617.2612-1-lijiang@redhat.com> <20181216131617.2612-2-lijiang@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181216131617.2612-2-lijiang@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 16, 2018 at 09:16:16PM +0800, Lianbo Jiang wrote: > +================ > +Common variables > +================ > + > +init_uts_ns.name.release > +======================== > +The number of OS release. Based on this version number, people can find > +the source code for the corresponding version. When analyzing the vmcore, > +people must read the source code to find the reason why the kernel crashed. > + > + > +init_uts_ns > +=========== > +This is the UTS namespace, which is used to isolate two specific elements > +of the system that relate to the uname system call. The UTS namespace is > +named after the data structure used to store information returned by the > +uname system call. > + > +User-space tools can get the kernel name, host name, kernel release number, > +kernel version, architecture name and OS type from the 'init_uts_ns'. And this document already fulfills its purpose - those two vmcoreinfo exports are redundant and the first one can be removed. And now that we agreed that VMCOREINFO is not an ABI and is very tightly coupled to the kernel version, init_uts_ns.name.release can be removed, yes? Or is there anything speaking against that? Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.