Skip to content

Commit abf36fe

Browse files
alyssarosenzweigJonathan Corbet
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
1 parent bf608eb commit abf36fe

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Documentation/kernel-hacking/locking.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,10 @@ primitives, but I'll pretend they don't exist.
9494
Locking in the Linux Kernel
9595
===========================
9696

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**.
10098

10199
Be reluctant to introduce new locks.
102100

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-
107101
Two Main Types of Kernel Locks: Spinlocks and Mutexes
108102
-----------------------------------------------------
109103

0 commit comments

Comments
 (0)