Re: [PATCH 2/3 RFC paul/rcu/srcu] srcu: only increase the upper bitfor srcu_read_lock()

From: Peter Zijlstra
Date: Wed Feb 22 2012 - 04:51:38 EST


On Wed, 2012-02-22 at 17:29 +0800, Lai Jiangshan wrote:
> + ACCESS_ONCE(this_cpu_ptr(sp->per_cpu_ref)->c[idx]) += -1;

That just looks funny..
--
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/