Skip to content

Commit

Permalink
docs: kernel-hacking: Remove inappropriate text
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
alyssarosenzweig authored and Jonathan Corbet committed Sep 3, 2021
1 parent bf608eb commit abf36fe
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Documentation/kernel-hacking/locking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----------------------------------------------------

Expand Down

0 comments on commit abf36fe

Please sign in to comment.