From: Rik van Riel on
On 04/08/2010 03:17 PM, Peter Zijlstra wrote:
> The powerpc page table freeing relies on the fact that IRQs hold off
> an RCU grace period, this is currently true for all existing RCU
> implementations but is not an assumption Paul wants to support.
>
> Therefore, also take the RCU read lock along with disabling IRQs to
> ensure the RCU grace period does at least cover these lookups.
>
> Requested-by: Paul E. McKenney<paulmck(a)linux.vnet.ibm.com>
> Signed-off-by: Peter Zijlstra<a.p.zijlstra(a)chello.nl>
> Cc: Nick Piggin<npiggin(a)suse.de>
> Cc: Benjamin Herrenschmidt<benh(a)kernel.crashing.org>

Reviewed-by: Rik van Riel <riel(a)redhat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/