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

Ingo Molnar
2009-10-13T07:29:48Z

* stephane eranian <eranian@googlemail.com> 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