Re: [PATCH 1/5] doc/memory-barriers: fix missed renaming: s/lock/acquire

From: David Howells
Date: Thu Mar 10 2016 - 04:45:46 EST

SeongJae Park <sj38.park@xxxxxxxxx> wrote:

> >> - - Locking functions.
> >> + - Acquiring functions.
> ...
> > 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.
> AFAIU, the next line of the quoted text says the section is talking about
> variants on "ACQUIRE" operations and "RELEASE" operations for each locking
> constructs.

Whilst that's true, most people think of them as locks. You could change the
name of the section to:

Locking/Acquiring functions


Lock acquisition functions