Re: [PATCH 1/5] doc/memory-barriers: fix missed renaming: s/lock/acquire
From: David Howells
Date: Thu Mar 10 2016 - 03:13:47 EST
SeongJae Park <sj38.park@xxxxxxxxx> wrote:
> - - Locking functions.
> + - Acquiring functions.
Actually, this should be 'locking' functions. If you look at the text:
ACQUIRING FUNCTIONS
-------------------
The Linux kernel has a number of locking constructs:
(*) spin locks
(*) R/W spin locks
(*) mutexes
(*) semaphores
(*) R/W semaphores
It's specifically talking about locking functions that the kernel provides -
or are we calling the spin acquires and R/W spin acquires now? "Locking" is
the key that people referring to the document are going to use.
David