Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fast()implementation

From: Benjamin Herrenschmidt
Date: Fri Apr 16 2010 - 03:25:54 EST


On Thu, 2010-04-15 at 07:28 -0700, Paul E. McKenney wrote:
>
> Of course, with call_rcu_sched(), the corresponding RCU read-side
> critical
> sections are non-preemptible. Therefore, in CONFIG_PREEMPT_RT, these
> read-side critical sections must use raw spinlocks.
>
> Can the code in question accommodate these restrictions?

What we protect against is always code that hard-disable IRQs (though
there seem to be a bug in the hugepages code there...). Would that
work ?

Cheers,
Ben.

--
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/