Re: + clocksource-driver-initialize-list-value.patch added to -mm tree

From: Ingo Molnar
Date: Wed Apr 04 2007 - 17:35:10 EST



* Daniel Walker <dwalker@xxxxxxxxxx> wrote:

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

but they have a robustness and maintainability effect. Key is to keep
drivers _simple_ and hard to mess up. If it's 5 extra lines of code to
simplify a driver then we just do it. This is maintainance 101.

i cannot believe you are still arguing this. I explained this to you
many weeks ago!

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