Re: [PATCH 2/2] arch/sh/mm: Eliminate a double lock

From: Matt Fleming
Date: Sun Jun 20 2010 - 09:52:00 EST


On Sun, 20 Jun 2010 13:24:54 +0200 (CEST), Julia Lawall <julia@xxxxxxx> wrote:
> From: Julia Lawall <julia@xxxxxxx>
>
> The function begins and ends with a read_lock. The latter is changed to a
> read_unlock.

I think we've been quite lucky here so far, in that no one takes a
write_lock after we've double-read-locked pmb_rwlock.

Acked-by: Matt Fleming <matt@xxxxxxxxxxxxxxxxx>
--
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/