lkml.org 
[lkml]   [2007]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: + clocksource-driver-initialize-list-value.patch added to -mm tree
From
Date
On Wed, 2007-04-04 at 23:15 +0200, Ingo Molnar wrote:
> * Daniel Walker <dwalker@mvista.com> wrote:
>
> > > > This is a prerequisite for simplifying the clocksource
> > > > registration process.
> > >
> > > why? This patch only pushes some unnecessary code into the
> > > clocksource drivers:
> > >
> > > + .list = LIST_HEAD_INIT(clocksource_avr32.list),
> > >
> > > NACK unless you can give an explanation of why this is unavoidable. A
> > > NULL initializer is just as good as an initialized list entry. (in fact
> > > it's slightly better because it's in the kernel's BSS)
> >
> > This is only 1 of 9 patches . The 9th patch requires the .list value
> > to be initialized .. The description change above was suppose to make
> > that clearer .. By forcing the .list value to be initialized we can
> > simplify the clocksource registration .
>
> but why do you call that a simplification? Remove 5 lines of code from
> the generic code, by adding +1 line to every clocksource driver,
> totalling to like +20 lines at the moment?

I guess I don't look at it in terms of lines .. Why do you think
reciting a line count diminishes the "simplification" claim? The 20+
lines that I added to each clocksource don't have a size or runtime
effect ..

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-04 23:33    [W:0.122 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site