Re: [PATCH] Doc/RCU: fix pseudocode in rcuref.txt

From: Ingo Molnar
Date: Wed Sep 10 2008 - 02:38:18 EST



* Lai Jiangshan <laijs@xxxxxxxxxxxxxx> wrote:

> atomic_inc_not_zero(v) return 0 if *v = 0.
> use spin_lock instead of write_lock for update lock.
>
> Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>

i've applied it to tip/core/rcu (unless Paul has objections) - thanks!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/