Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp861589ybv; Thu, 13 Feb 2020 10:53:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzahwB9z95EdUOBt5MOZembJU6eaDYFfWwX8ttLobf2s9TxvpLXQoSDLWZgM2exlOLkxrL8 X-Received: by 2002:a9d:750b:: with SMTP id r11mr14979872otk.310.1581620004362; Thu, 13 Feb 2020 10:53:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581620004; cv=none; d=google.com; s=arc-20160816; b=znJNGjnnHxpSjFP6p5x57iesbYoRK/XLYftLR5CSLhBW9vMiY4MxJlqbKf8YyBFud9 P3Fp7SWuyyyBstLhDfLSNDNWVNqD+1xbKFzhtnsvH8fQz+ZtogXnOSaApCBFx18I0OTe gfCJKB10tqalAWbbd5FI4mrjDz6/DtJV5vf8Vd4F6NaExUyKpxPMAqCZDYbUTFZs53pf T6UTifLfEOzxnBAsftpLUqeI2NYGHE37FBkdWrfQuEL8Psl/M5PbrFKZNABWcberhdAh P+y+GkoMBCFrSkrlJRAhkQAPQ6BbTcQdp1hUrQeisUMArTaH77Ya8tE8lpT7SSQRRz6Z 0MCA== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=E7NnksZBiH1bHRxmNQ1/VDST/YGZtXDCRnDM0CCizpk=; b=Cf0oEGBhq8EiIgwxwLpv+zQuWBxkzdqCV1Kb6Rn5HqMmRqSUbMmHiUUgEy6Qr7PoxM YEM8RLBJXPOU+b7ujilv2FB4a9PY2CM+noHEBsrqZDytP/OE/T1XOlvLbjHVnTAt+DrB RVpge2cWXHh77mCso8lLeIKYI602W60Nwoduq08IUr4BH8rbkS4GFhAJ91DDrcPX/v2O VJau43M8Laleun+4VZG+ssHzqx9BejXkFlt+Aw1068eRDNdU8lu9YEvPkALG92kyITu0 9ufp9wwume8TdsJrsXrTkTzKTTI6APnKt9lI0mhGZTmgFiZ3fgo6nP6vbBy54DtXLtKk eMiw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z22si1426316otq.94.2020.02.13.10.53.11; Thu, 13 Feb 2020 10:53:24 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728176AbgBMSwk (ORCPT + 99 others); Thu, 13 Feb 2020 13:52:40 -0500 Received: from ms.lwn.net ([45.79.88.28]:47028 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727722AbgBMSwk (ORCPT ); Thu, 13 Feb 2020 13:52:40 -0500 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id DD999740; Thu, 13 Feb 2020 18:52:39 +0000 (UTC) Date: Thu, 13 Feb 2020 11:52:38 -0700 From: Jonathan Corbet To: Stephen Kitt Cc: Mauro Carvalho Chehab , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] docs: pretty up sysctl/kernel.rst Message-ID: <20200213115238.1cce0534@lwn.net> In-Reply-To: <20200213174701.3200366-2-steve@sk2.org> References: <20200213174701.3200366-1-steve@sk2.org> <20200213174701.3200366-2-steve@sk2.org> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 Feb 2020 18:46:56 +0100 Stephen Kitt wrote: > This updates sysctl/kernel.rst to use ReStructured Text more fully: > * the list of files is now the table of contents (old entries with no > corresponding sections are added as empty sections for now); > * code references and commands are formatted as code, except for > function names which end up linked to the appropriate documentation; > * links are used to point to other documentation and other sections; > * tables are used to make lists of values more readable (as already > done for some sections); > * in heavily-reworked paragraphs, sentences are wrapped individually, > to make future diffs easier to read. > > Signed-off-by: Stephen Kitt > --- > Documentation/admin-guide/sysctl/kernel.rst | 987 ++++++++++---------- > 1 file changed, 493 insertions(+), 494 deletions(-) So this looks generally good, but... > diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst > index def074807cee..1de8f0b199b1 100644 > --- a/Documentation/admin-guide/sysctl/kernel.rst > +++ b/Documentation/admin-guide/sysctl/kernel.rst > @@ -2,262 +2,188 @@ > Documentation for /proc/sys/kernel/ > =================================== > > -kernel version 2.2.10 > +Kernel version 2.2.10 I honestly can't see the value of fixing up a line like that. When I encounter a kernel document that references something like 2.2.10, I assume it's full of dust and cobwebs. I'd just take that out. > Copyright (c) 1998, 1999, Rik van Riel > > -Copyright (c) 2009, Shen Feng > +Copyright (c) 2009, Shen Feng > > -For general info and legal blurb, please look in index.rst. > +For general info and legal blurb, please look in :doc:`index`. > > ------------------------------------------------------------------------------ > > This file contains documentation for the sysctl files in > -/proc/sys/kernel/ and is valid for Linux kernel version 2.2. > +``/proc/sys/kernel/`` and is valid for Linux kernel version 2.2. This could be tweaked as well. If, after your work, you think it's still not current, a warning to that effect should be put in instead. There's some other dated stuff below that can go as well. Probably this is best done in a separate patch. Thanks, jon