Re: [PATCH 07/18] rhashtable: use cmpxchg() to protect ->future_tbl.

From: Herbert Xu
Date: Fri Jun 01 2018 - 12:45:00 EST

On Fri, Jun 01, 2018 at 02:44:09PM +1000, NeilBrown wrote:
> Rather than borrowing one of the bucket locks to
> protect ->future_tbl updates, use cmpxchg().
> This gives more freedom to change how bucket locking
> is implemented.
> Signed-off-by: NeilBrown <neilb@xxxxxxxx>

Acked-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key: