Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3754798imu; Tue, 18 Dec 2018 03:43:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/VYgdqxqReED1qCtFCBriDs3s9aV1icalDfMnSBasm5EjYA0zeGT+kIDVyG0QMwElJJWOST X-Received: by 2002:a63:bf0b:: with SMTP id v11mr15835406pgf.302.1545133420754; Tue, 18 Dec 2018 03:43:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545133420; cv=none; d=google.com; s=arc-20160816; b=JWmW2dFQYkY1eAy5mBhJh7I0jJJqrxbNpM1PIWdK4H/ool950c7LoA9aMSV6+3RZX6 4Stu4wZb7uM3iRJ+mlB/dXTwRbn5AwDHRSikTxXtURvedo1lj3P0xyMF/A31q4ej/ddE HxI5CJ/zpjkuyTZaxPIDE8Mzszmq8Cp7eECABSPxlioOgKvCAL/9qmAe+Xt3uoqtdDhe ouf8ttCiscrh68qc6UHqKU7tjpnXz9o77ATi86AH56Xbe+O8vTulHtKQyJvZ0c3AZkZn zKsF1VvQhRr6Zl5WGQZrSsR3WigxwA3lq+AVWCsvVx/b/0eZALceajrOxmv/FM1/ynWf UghA== 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=l5JRiN5uznoDQAqFX3WDLhur2EpQtG6ZJJkRqN6BZS4=; b=wpROcjyZ8rRoTxXBNup13uQtk3JW6xsN4sEYCcSrJhHUWlDjxQS9c+IuD3aUZKATjl R83zKY3TGT0o0T3f1Qm4LcvPdJHhaqmK/cTrdCiQ2vu7FXAPfE5lY8/LOl7Cedrbrotb aLim3jIiU8SO/GHKm0BSowFXeQQtjX8JQO3huzqIfvaoa7HkEdIc+X/pgBS1RtpQkybb u056ginqdOhsU+IbXEwT+jx9k8MU3mm/7tReDxEkYqbiIIn1rGVQJMlmnhnBfuUPAXAI JVs2IFBPNy0x5teonVSVDPfV1vGjql9OH9HZYpswXbo4LMQH2mzdKcfjNeFb7MG5tLU2 COIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=hJpxFsnZ; 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 f4si11281888pgg.492.2018.12.18.03.43.24; Tue, 18 Dec 2018 03:43:40 -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=hJpxFsnZ; 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 S1726705AbeLRLlW (ORCPT + 99 others); Tue, 18 Dec 2018 06:41:22 -0500 Received: from mail.skyhub.de ([5.9.137.197]:35350 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726540AbeLRLlV (ORCPT ); Tue, 18 Dec 2018 06:41:21 -0500 Received: from zn.tnic (p200300EC2BD17800B0C9856CE6A48B11.dip0.t-ipconnect.de [IPv6:2003:ec:2bd1:7800:b0c9:856c:e6a4:8b11]) (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 AAD471EC0230; Tue, 18 Dec 2018 12:41:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1545133279; 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=l5JRiN5uznoDQAqFX3WDLhur2EpQtG6ZJJkRqN6BZS4=; b=hJpxFsnZvkskd/BhWAGFdReWrs+BWo5midiD787gd/EQtDEQftvUpzl12gK6ZiL/JxiHvJ sSP+U1B9W7XhlU/eyHww9tpyLPjm3hcTWONZObC+1Q2l4yNZCtjWESqiOgJ0szJG1gqj3D n+u0ky1BJJDtTaGDFMWk2UtRuiDdjyI= Date: Tue, 18 Dec 2018 12:41:18 +0100 From: Borislav Petkov To: lijiang 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: <20181218114118.GE7485@zn.tnic> References: <20181216131617.2612-1-lijiang@redhat.com> <20181216131617.2612-2-lijiang@redhat.com> <20181217130024.GD12165@zn.tnic> <826c1a6b-41da-bc1a-f9c2-0d52e774b572@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <826c1a6b-41da-bc1a-f9c2-0d52e774b572@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 Tue, Dec 18, 2018 at 03:31:32PM +0800, lijiang wrote: > The printk_log is used to output human readable text, it will encapsulate header > information for log_buf, such as timestamp, syslog level, etc. Me asking those questions is supposed to hint that the explanations need improvement. But you get the idea... > >> +PG_lru|PG_private|PG_swapcache|PG_swapbacked|PG_slab| > >> +PG_hwpoision|PG_head_mask > >> +===================================================== > >> +It means the attribute of a page. These flags will be used to filter > >> +the free pages. > >> + > >> +PAGE_BUDDY_MAPCOUNT_VALUE or ~PG_buddy > >> +====================================== > >> +The 'PG_buddy' flag indicates that the page is free and in the buddy > >> +system. Makedumpfile can exclude the free pages managed by a buddy. > > > > That text belongs with the one above? > > > It exported the value of (~PG_buddy), so it is placed here independently. Then make that obvious in the description. The one above talks about the PG flags and this one should talk about PAGE_BUDDY_MAPCOUNT_VALUE and what it is used for. The fact that it is computed by negating PG_buddy is an implementation detail. > These two variables are somewhat similar, but they are used in > different scenarios. Those different scenarious need to be part of the description. > >> +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. If it is unused, it should be removed as an VMCOREINFO export and from the docs. But that can be done later, as a separate patch. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.