Re: [PATCH 2/2] perf_events: add event constraints support forIntel processors

From: Ingo Molnar
Date: Tue Oct 13 2009 - 03:30:15 EST



* stephane eranian <eranian@xxxxxxxxxxxxxx> wrote:

> > Spreading them all out into architecture code is the far worse
> > solution, it creates a fragile distributed monster with repeating
> > patterns - instead we want a manageable central monster ;-) [We are
> > also quite good at controlling and shrinking monsters in the core
> > kernel.]
>
> I don't understand this either.
> Why would architecture specific code be more fragile ?

Because similar code spread out and partly duplicated in 22
architectures is an order of magnitude less maintainable than
a core library.

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/