Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3413619ybt; Sat, 4 Jul 2020 16:46:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDtVOOUx5WWuzjpRUS7xuM3oJdSLqVyi4Byjq94wOAWUcIW0E8PPUbd+9Vkuq8UzMLWPgi X-Received: by 2002:a05:6402:16c7:: with SMTP id r7mr29892441edx.288.1593906367794; Sat, 04 Jul 2020 16:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593906367; cv=none; d=google.com; s=arc-20160816; b=ehS3Xc4+FOCRVC7sl3UNbj+p8hVzYWp/6OSeKFT0kl9MOg3ngKeo7I2aAdSLSTCbsI eS7EETWB4sw8xAp2x9Ha7i3ChhK8Tmmki7pCpRs05PRpXms2Bcwc7FWV7Cv+qiPXMiUQ vf+rC4Y0RWRGS5S5ElxCOCA0h2D/U1SLkgIWGOtl+8DhY0YpHRg0Q9E1+nh8ZIj/5EZR TbmsqdxmhhmEYKh51FuTQQzth0zRmbS+c5BfM0n2j6g6/sQCX3DTxywBCkGIWD4x4JWH guLT85f3uMfeLqfQrOYU00XtSmsY19s129YLGb+lxwIxMvnR70mK/3jWowtz1GuvYKlU ejXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=31P9kgn8C+R/mn6QCBBgHZvnUKpRh1i4KXQCsn8SDZo=; b=oru6iS56FfHccFtIO+dStrqkgIc+awn9D963Y1g9cC/LkYnRn1MHLNNhWEDPa4xtdN Xgi3niSRzcbFu8Yc4yAABp3oDt09TLjuXfTzyZzEntC9ObuZNIgIs30feKHJBoHkhPd+ +9doFuUAgDrBTmOnJIweC+sHgHXQxhAQ3L3lxH82FfX5NXhGEDY9LAPbVWdsfvNarAzY H96/DaN9yJQBoZkaLu1UBbBGBGocuStGotqhrbo2ngBGQvpL/TLQbwlOnlxguR1dmurC e74EGnPNi+HcfTHosoraSdmNLude6pnzeGL/r8XftaWx8dKSODcZY3/d1v4rfYdGP+QN Q09A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cthWbLyv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si9590545eju.669.2020.07.04.16.45.45; Sat, 04 Jul 2020 16:46:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cthWbLyv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728104AbgGDXmz (ORCPT + 99 others); Sat, 4 Jul 2020 19:42:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727994AbgGDXmz (ORCPT ); Sat, 4 Jul 2020 19:42:55 -0400 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F148CC061794 for ; Sat, 4 Jul 2020 16:42:54 -0700 (PDT) Received: by mail-ed1-x543.google.com with SMTP id d16so24704417edz.12 for ; Sat, 04 Jul 2020 16:42:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=31P9kgn8C+R/mn6QCBBgHZvnUKpRh1i4KXQCsn8SDZo=; b=cthWbLyvQM6QrdJ+UH3Or9675g4WcVHRQtpoy5HFYLGE2ysIdppWCXzssB8qxw9t9J PYPMMmMqjX4lWw0Az8F9gmtgBUwaTW99UdkKbjyp36jEFCGYVHSJXAAtz9kNnTig02s5 YZAIuwDDwxDvF+6kygbQ2RJp3vdAT4I6T+OCVbalQoy3+6o3Q18R6YQl/2/39UPhlEgD X71IXE/3wd0p0ZYLaNYdvpW+mUwLoX4zpEoSDTFVgk4/BX/51xYgEKWaFIa5kfhHdQCE e/MXxADK4r7XGhiwnmyELh6ybUI3nQPi5/9uyEG1vg1aMcK8FlY1NbkJ4wy9xqI3VkuO UUQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=31P9kgn8C+R/mn6QCBBgHZvnUKpRh1i4KXQCsn8SDZo=; b=G4PJix2bXrVcMdP6FpQ5oTHJuWXvxric8EuuJIUwljP4XbDz6Ps4fqKW8Ai4rIwj+K SKBlVUZ5Ngm8k0g5bl91fB/A6aS+bKBJ6kth/25iRlYQeo09Q00BfzO/iGHlVwNkbyTj gDti7rV94D7WB7QU72MS1gbeU8Bcq0tpSHs3pO/pzF0nGCAKjWGO1UqUt+xd7TdKqqEY +/aZlcUyidhANSgFfn3e9LAQny3l3JoLYetXH+afyvCRESsfGZ5BA6sWcO1pJwLkeBx1 ija0zyzh6E6ZKuSKomNZW1QBqEVmzFgkTyT+hheOfi//hv/iCxBpTkjmdHIC1XrJRL0O GHBA== X-Gm-Message-State: AOAM533eVvn7P2aAlirq3E9oxZptQPhcwl/c+JDXw+2nSDxkWBRUpQH7 ZGPnLhllep0ynJjHdR9V2HHvFzvtnLs6rka6p8c= X-Received: by 2002:a50:fa07:: with SMTP id b7mr46811366edq.298.1593906173670; Sat, 04 Jul 2020 16:42:53 -0700 (PDT) MIME-Version: 1.0 References: <159389297140.2210796.13590142254668787525.stgit@dwillia2-desk3.amr.corp.intel.com> In-Reply-To: <159389297140.2210796.13590142254668787525.stgit@dwillia2-desk3.amr.corp.intel.com> From: Dave Airlie Date: Sun, 5 Jul 2020 09:42:42 +1000 Message-ID: Subject: Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology To: Dan Williams Cc: Linus Torvalds , ksummit , Greg Kroah-Hartman , LKML , tech-board-discuss@lists.linuxfoundation.org, Chris Mason Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 5 Jul 2020 at 06:19, Dan Williams wrote: > > Recent events have prompted a Linux position statement on inclusive > terminology. Given that Linux maintains a coding-style and its own > idiomatic set of terminology here is a proposal to answer the call to > replace non-inclusive terminology. > > Cc: Jonathan Corbet > Cc: Kees Cook > Signed-off-by: Chris Mason > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Dan Williams I'm sure the language could be fine tuned, but the intent is something I support. Acked-by: Dave Airlie > --- > Documentation/process/coding-style.rst | 12 ++++ > Documentation/process/inclusive-terminology.rst | 64 +++++++++++++++++++++++ > Documentation/process/index.rst | 1 > 3 files changed, 77 insertions(+) > create mode 100644 Documentation/process/inclusive-terminology.rst > > diff --git a/Documentation/process/coding-style.rst b/Documentation/process/coding-style.rst > index 2657a55c6f12..4b15ab671089 100644 > --- a/Documentation/process/coding-style.rst > +++ b/Documentation/process/coding-style.rst > @@ -319,6 +319,18 @@ If you are afraid to mix up your local variable names, you have another > problem, which is called the function-growth-hormone-imbalance syndrome. > See chapter 6 (Functions). > > +For symbol names, avoid introducing new usage of the words 'slave' and > +'blacklist'. Recommended replacements for 'slave' are: 'secondary', > +'subordinate', 'replica', 'responder', 'follower', 'proxy', or > +'performer'. Recommended replacements for blacklist are: 'blocklist' or > +'denylist'. > + > +Exceptions for introducing new usage is to maintain a userspace ABI, or > +when updating code for an existing (as of 2020) hardware or protocol > +specification that mandates those terms. For new specifications consider > +translating specification usage of the terminology to the kernel coding > +standard where possible. See :ref:`process/inclusive-terminology.rst > +` for details. > > 5) Typedefs > ----------- > diff --git a/Documentation/process/inclusive-terminology.rst b/Documentation/process/inclusive-terminology.rst > new file mode 100644 > index 000000000000..a8eb26690eb4 > --- /dev/null > +++ b/Documentation/process/inclusive-terminology.rst > @@ -0,0 +1,64 @@ > +.. _inclusiveterminology: > + > +Linux kernel inclusive terminology > +================================== > + > +The Linux kernel is a global software project, and in 2020 there was a > +global reckoning on race relations that caused many organizations to > +re-evaluate their policies and practices relative to the inclusion of > +people of African descent. This document describes why the 'Naming' > +section in :ref:`process/coding-style.rst ` recommends > +avoiding usage of 'slave' and 'blacklist' in new additions to the Linux > +kernel. > + > +On the triviality of replacing words > +==================================== > + > +The African slave trade was a brutal system of human misery deployed at > +global scale. Some word choice decisions in a modern software project > +does next to nothing to compensate for that legacy. So why put any > +effort into something so trivial in comparison? Because the goal is not > +to repair, or erase the past. The goal is to maximize availability and > +efficiency of the global developer community to participate in the Linux > +kernel development process. > + > +Word choice and developer efficiency > +==================================== > + > +Why does any software project go through the trouble of developing a > +document like :ref:`process/coding-style.rst `? It does so > +because a common coding style maximizes the efficiency of both > +maintainers and developers. Developers learn common design patterns and > +idiomatic expressions while maintainers can spot deviations from those > +norms. Even non-compliant whitespace is considered a leading indicator > +to deeper problems in a patchset. Coding style violations are known to > +take a maintainer "out of the zone" of reviewing code. Maintainers are > +also sensitive to word choice across specifications and often choose to > +deploy Linux terminology to replace non-idiomatic word-choice in a > +specification. > + > +Non-inclusive terminology has that same distracting effect which is why > +it is a style issue for Linux, it injures developer efficiency. > + > +Of course it is around this point someone jumps in with an etymological > +argument about why people should not be offended. Etymological arguments > +do not scale. The scope and pace of Linux to reach new developers > +exceeds the ability of historical terminology defenders to describe "no, > +not that connotation". The revelation of 2020 was that black voices were > +heard on a global scale and the Linux kernel project has done its small > +part to answer that call as it wants black voices, among all voices, in > +its developer community. > + > +Really, 'blacklist' too? > +======================== > + > +While 'slave' has a direct connection to human suffering the etymology > +of 'blacklist' is devoid of a historical racial connection. However, one > +thought exercise is to consider replacing 'blacklist/whitelist' with > +'redlist/greenlist'. Realize that the replacement only makes sense if > +you have been socialized with the concepts that 'red/green' implies > +'stop/go'. Colors to represent a policy requires an indirection. The > +socialization of 'black/white' to have the connotation of > +'impermissible/permissible' does not support inclusion. > + > +Inclusion == global developer community efficiency. > diff --git a/Documentation/process/index.rst b/Documentation/process/index.rst > index f07c9250c3ac..ed861f6f8d25 100644 > --- a/Documentation/process/index.rst > +++ b/Documentation/process/index.rst > @@ -27,6 +27,7 @@ Below are the essential guides that every developer should read. > submitting-patches > programming-language > coding-style > + inclusive-terminology > maintainer-pgp-guide > email-clients > kernel-enforcement-statement > > _______________________________________________ > Ksummit-discuss mailing list > Ksummit-discuss@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/ksummit-discuss