Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp672895pxb; Fri, 3 Sep 2021 10:40:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZrz5fT1xRMdV51MDhauTy8wqx/ksMptP91A10aAQyAXr9theL36qKbEPDWI/PtENlYPdZ X-Received: by 2002:a05:6402:4cd:: with SMTP id n13mr123434edw.215.1630690850301; Fri, 03 Sep 2021 10:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630690850; cv=none; d=google.com; s=arc-20160816; b=MGQZvQwVATssRV3xoQxXs1hljEq7KyLeTpybRYHTJ6KJeIfE69cN+ds7tas1wopwwt 0Bzuihb2FE9mVrwgsrVt6tWyPXgVQvAQ6KkXFfnIZB34nWGwvGXXMuUlALI8SCGYZ2eN bIYWA7dfkPUMGni+YN9HWHFvvczJWDMtGLg7x9l3H2lMaAvBmJieX1FaXXV3R8BPQOEj pMHsD8eUWDTbs/gJ10EewfiznzVKm0YLXNySoOfpsR4yohiDybpoC211Pe3hbrf1ZkZK 7ECFJNpeSV7m/RyPWlNlUqcjH5RU/ZbbDYDXDhsBoCvG1uLmyFO0h0CrQyo036rMwwRT pWXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tXIWjXktq55QJk9tfhDpIi0QzokDi4WZjMDnh2upD+c=; b=t9RRqmwtp62NVLfGBdWacOto4Dl13kVBVKAd5VkHkIsrRZ9r++VQpWB9ekhC5Q1xa6 fKwXrw+oLi/76v1TPUHi5nmXCUNMV4NchyvsKQla+QBvie6e0p+HPwu2Vy3S59+jd31X 9aWOUN2Zg0QDpIMfdM72eyEf0w4+wbPb9hjOyzeboEqWBfX8ixevmNMHaObDcEZOmg56 uPe5vICYIKuEg+Ll0x9xKOn8jzkUQ2PXwf9zyR1uk+/ZaT/M/VAoASFgfOeqnHLmPy90 VDc9Ae2W/D02j9xLLUKG4/fbg/kSCbHq17fzvzeZezQkbrPad8/WQhHfYs10d3JkTG5t cuFQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si5992619ejc.488.2021.09.03.10.40.26; Fri, 03 Sep 2021 10:40:50 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349611AbhICPTd (ORCPT + 99 others); Fri, 3 Sep 2021 11:19:33 -0400 Received: from rosenzweig.io ([138.197.143.207]:45784 "EHLO rosenzweig.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349579AbhICPTa (ORCPT ); Fri, 3 Sep 2021 11:19:30 -0400 From: Alyssa Rosenzweig To: linux-doc@vger.kernel.org Cc: Jonathan Corbet , Takashi Iwai , Bhaskar Chowdhury , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Alyssa Rosenzweig Subject: [PATCH] docs: kernel-hacking: Remove inappropriate text Date: Fri, 3 Sep 2021 11:18:26 -0400 Message-Id: <20210903151826.6300-1-alyssa@rosenzweig.io> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove inappropriate sexual (and ableist) text from the locking documentation, aligning it with the kernel code-of-conduct. As the text was unrelated to locking, this change streamlines the document and improves readability. Signed-off-by: Alyssa Rosenzweig --- Documentation/kernel-hacking/locking.rst | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Documentation/kernel-hacking/locking.rst b/Documentation/kernel-hacking/locking.rst index ed1284c6f078..3e1f71608f11 100644 --- a/Documentation/kernel-hacking/locking.rst +++ b/Documentation/kernel-hacking/locking.rst @@ -94,16 +94,10 @@ primitives, but I'll pretend they don't exist. Locking in the Linux Kernel =========================== -If I could give you one piece of advice: never sleep with anyone crazier -than yourself. But if I had to give you advice on locking: **keep it -simple**. +If I could give you one piece of advice on locking: **keep it simple**. Be reluctant to introduce new locks. -Strangely enough, this last one is the exact reverse of my advice when -you **have** slept with someone crazier than yourself. And you should -think about getting a big dog. - Two Main Types of Kernel Locks: Spinlocks and Mutexes ----------------------------------------------------- -- 2.30.2