Re: [PATCH fyi] RCU: the bloatwatch edition

Ingo Molnar
2009-01-14T10:41:19Z

* Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:

> Just FYI, not for inclusion.
>
> This patch is a version of RCU designed for !CONFIG_SMP provided as a
> proof of concept of a small-footprint RCU implementation. In
> particular, the implementation of synchronize_rcu() is extremely
> lightweight and high performance. It passes moderate rcutorture testing
> in each of the four relevant configurations (combinations of NO_HZ and
> PREEMPT) on x86.
>
> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

maybe it could be included - dependent on PREEMPT, just like we have SLOB?

it would also be rather educative IMO: if someone wants to understand the
core concepts of RCU, start with kernel/rcutiny.c. We are getting
complaints from academic institutions that the Linux kernel is getting too
complex to teach in courses - and that's a pity.

Ingo