Re: [PATCH] doc:lock: remove reference to clever use of read-write lock

From: Jonathan Corbet
Date: Sat Aug 31 2019 - 10:43:52 EST


On Sat, 31 Aug 2019 15:41:16 +0200
Federico Vaga <federico.vaga@xxxxxxxxxx> wrote:

> several CPU's and you want to use spinlocks you can potentially use
> -cheaper versions of the spinlocks. IFF you know that the spinlocks are
> +cheaper versions of the spinlocks. If you know that the spinlocks are
> never used in interrupt handlers, you can use the non-irq versions::

I suspect that was not actually a typo; "iff" is a way for the
mathematically inclined to say "if and only if".

jon