Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: kernel-hacking: Remove inappropriate text

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 <alyssa@rosenzweig.io>
Link: https://lore.kernel.org/r/20210903151826.6300-1-alyssa@rosenzweig.io
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Alyssa Rosenzweig and committed by
Jonathan Corbet
abf36fe0 bf608ebc

+1 -7
+1 -7
Documentation/kernel-hacking/locking.rst
··· 94 94 Locking in the Linux Kernel 95 95 =========================== 96 96 97 - If I could give you one piece of advice: never sleep with anyone crazier 98 - than yourself. But if I had to give you advice on locking: **keep it 99 - simple**. 97 + If I could give you one piece of advice on locking: **keep it simple**. 100 98 101 99 Be reluctant to introduce new locks. 102 - 103 - Strangely enough, this last one is the exact reverse of my advice when 104 - you **have** slept with someone crazier than yourself. And you should 105 - think about getting a big dog. 106 100 107 101 Two Main Types of Kernel Locks: Spinlocks and Mutexes 108 102 -----------------------------------------------------