Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1905558imm; Sun, 9 Sep 2018 11:21:20 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbfwvCjIqoNpc5w2gkSEfoDbZdTaGEwnSVr05AYaz1SOkoMgD6MTdBlnKrwweUifPXqYyCO X-Received: by 2002:a65:4289:: with SMTP id j9-v6mr18830738pgp.284.1536517280042; Sun, 09 Sep 2018 11:21:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536517280; cv=none; d=google.com; s=arc-20160816; b=iVbBCPaJ5y/Ec/s45ctiCkV8M3EgEw3Lkw7CGlu2UTTPC4p0pvyunzzsGiONTBtAgu VGUAW75AsLlMCQTTLLBucNmNU8pJL6G2ClBHkyqxdsWTAjzqvbQ2KeBi/tVydp4D/B30 tlGDLx/laMBIUsF0RIlH/ZzgCovLg6TfY3tAlaHaURfq4x7kxwio+LZwRoVUXVTKn1Bd Qoor/eZ55wGYyAIyDyxoUCdo8SLFklEg7gtHFsJicxBgvir+OR2zZQBy9Kpuqua4nwEz QoLQf0e3D34XUTm2PfCpG/vBPzkMbqOkzG2LFqlvzArJdI4ihwoYnXq9rkY/X+kRim0P a/sg== 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=GaFjD44BkTdQbNEkFdQJfMhniLwVjaT0HCy7qtVQWT8=; b=vbfEmjbaXW5eMEjo7ByQQ1FFX6w5Ctl4G89H/K50FwZOWVMLo3B/MGmTLZmR7Bm/Xx 3nDpgfi7IdxTRXlgSCP1xqnI7eo3OSAAcyadXRSWLREQprqVC5C2iIoS3+uIraOnDnQ2 YUPA7ebFYsj/mYaNDvnSnSpcay7O11URLHDu3NCrXgt82dz9twI7UDd7M625kZVJaFNa 6Llblqh2brP+KlnPYpipexsum0WNklDgfUx4Yb+eYMmgVNE9hFY1SdM4aJqwrd3IUGEb pIADgi1m/PhPuAJG9tdeKd26mK5uRwRaKLfKPTKwKOMOFRsb5Bh8JFwTClu8a1TsbTqD 6PEQ== 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 e1-v6si14121586ple.262.2018.09.09.11.20.51; Sun, 09 Sep 2018 11:21:20 -0700 (PDT) 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 S1727152AbeIIXJe (ORCPT + 99 others); Sun, 9 Sep 2018 19:09:34 -0400 Received: from ms.lwn.net ([45.79.88.28]:37924 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726665AbeIIXJe (ORCPT ); Sun, 9 Sep 2018 19:09:34 -0400 Received: from localhost.localdomain (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 8E33A6D9; Sun, 9 Sep 2018 18:19:03 +0000 (UTC) Date: Sun, 9 Sep 2018 12:19:01 -0600 From: Jonathan Corbet To: Miguel Ojeda Cc: Linus Torvalds , linux-kernel@vger.kernel.org, Rasmus Villemoes , Luc Van Oostenryck , Eli Friedman , Christopher Li , Kees Cook , Ingo Molnar , Geert Uytterhoeven , Arnd Bergmann , Greg Kroah-Hartman , Masahiro Yamada , Joe Perches , Dominique Martinet , Nick Desaulniers , linux-sparse@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v4 12/13] Compiler Attributes: add Doc/process/programming-language.rst Message-ID: <20180909121901.5a36d0fd@lwn.net> In-Reply-To: <20180908212459.19736-13-miguel.ojeda.sandonis@gmail.com> References: <20180908212459.19736-1-miguel.ojeda.sandonis@gmail.com> <20180908212459.19736-13-miguel.ojeda.sandonis@gmail.com> Organization: LWN.net X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) 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 Sat, 8 Sep 2018 23:24:58 +0200 Miguel Ojeda wrote: > Documentation/process/index.rst | 1 + > .../process/programming-language.rst | 45 +++++++++++++++++++ > 2 files changed, 46 insertions(+) > create mode 100644 Documentation/process/programming-language.rst > So I have some overall thoughts on the documentation; my apologies for not getting to this until you got to v4... 1) I think the document is mistitled. It's not really about the language that the kernel used, it's about compiler attributes. So I would make both the name of the document and it introduction reflect that. 2) This is an ideal opportunity to document what all of those attributes actually mean. I would guess that is the information many developers will come here looking for, and they'll go away frustrated. The ideal thing to do, IMO, would be do say what each attribute means (rather than just which compilers support it) in a DOC section in the new compiler_attributes.h header, then use RST directives to pull all that information into this document. Thanks, jon