Re: PATCH [0/4] perf: clean-up of power events API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: PATCH [0/4] perf: clean-up of power events API
- From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 9 Oct 2010 11:36:50 -0700
- Cc: Ingo Molnar <mingo@xxxxxxx>, Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>, Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>, Tejun Heo <tj@xxxxxxxxxx>, Frederic Weisbecker <fweisbec@xxxxxxxxx>, Thomas Renninger <trenn@xxxxxxx>, Jean Pihet <jean.pihet@xxxxxxxxxxxxxx>, linux-trace-users@xxxxxxxxxxxxxxx, linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-perf-users@xxxxxxxxxxxxxxx, rjw@xxxxxxx, linux-omap@xxxxxxxxxxxxxxx, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>, Steven Rostedt <rostedt@xxxxxxxxxxx>, Frank Eigler <fche@xxxxxxxxxx>, Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
- In-reply-to: <AANLkTik6nO4i6xTuVYA9kBGFNpxYb70qimNcHPQKqTJ8@xxxxxxxxxxxxxx>
- References: <1286205661-24448-1-git-send-email-jean.pihet@xxxxxxxxxxxxxx> <201010062334.46971.trenn@xxxxxxx> <20101007150825.GB12581@Krystal> <AANLkTikT4xsh7iCQDX8ksewJwC-BeFov=Ab7iYo+hDmO@xxxxxxxxxxxxxx> <20101007155816.GA5351@nowhere> <4CAED2F0.9080801@xxxxxxxxxx> <20101008083819.GA22385@xxxxxxx> <4CAF19E7.3070103@xxxxxxxxxxxxxxx> <20101008134156.GA28724@Krystal> <20101009062836.GB5517@xxxxxxx> <AANLkTik6nO4i6xTuVYA9kBGFNpxYb70qimNcHPQKqTJ8@xxxxxxxxxxxxxx>
On Sat, Oct 9, 2010 at 1:14 AM, Pierre Tardy <tardyp@xxxxxxxxx> wrote:
> On Sat, Oct 9, 2010 at 8:28 AM, Ingo Molnar <mingo@xxxxxxx> wrote:
>>
>
>> The thing is, Arjan is 100% right that a library for this is not a
>> 'solution', it's an unnecessary complication.
> Yes. sounds like overengineering.
I also want to remind people that backwards compatibility should
always absolutely be the #1 priority. Using libraries to "hide"
differences is a totally moronic thing to do, because if you can do a
compatibility library with good interfaces, then damn it, the kernel
interface should already _be_ that good interface.
And no, even if you interact purely with open source programs, the
backwards compatibility requirement doesn't go away. It's a damn pain
in the ass to have to recompile, and it means that you have a much
harder time mixing and matching, and just updating the kernel on top
of a standard distribution.
So changing kernel interfaces that get exported to user space is
always a disaster. Anybody who _designs_ for that kind of disaster
shouldn't be participating in kernel development, because they've
shown themselves to be unable to understand the pain and suffering.
Yes, we do it. Sometimes we change interfaces because not changing
them is too damn painful. But it should absolutely not be the design
model.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-trace-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]