lkml.org 
[lkml]   [2009]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] v4 RCU: the bloatwatch edition
On Wed, 6 May 2009 14:09:09 +0200
Ingo Molnar <mingo@elte.hu> wrote:

>
> * David Howells <dhowells@redhat.com> wrote:
>
> > Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
> >
> > > This patch is a version of RCU designed for (!SMP && EMBEDDED)
> > > 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 rcutorture testing in each
> > > of the four relevant configurations (combinations of NO_HZ and PREEMPT)
> > > on x86. This saves about 900 bytes compared to Classic RCU, and a
> > > couple kilobytes compared to Hierarchical RCU (updated to 2.6.29):
> > > ...
> > > Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
> >
> > Acked-by: David Howells <dhowells@redhat.com>
>
> i'm wondering what Andrew thinks - he had objections, right?
>

More like "concerns". It's unobvious to me that the modest .text
savings justify the costs of an additional RCU implementation. Where
those costs include

- additional maintenance work and

- the reduced code reliability which comes from fragmenting the
tester base. This will mostly affect users of the less popular RCU
implementations.


But hey, maybe I'm wrong. And maybe I'm right, but we'll merge it anyway ;)


\
 
 \ /
  Last update: 2009-05-06 20:35    [W:0.082 / U:26.716 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site