Re: [PATCH] net-sysfs: Report link speed only when possible

From: Michal Privoznik
Date: Mon Jun 16 2014 - 04:30:38 EST


On 16.06.2014 10:11, David Miller wrote:
From: Michal Privoznik <mprivozn@xxxxxxxxxx>
Date: Mon, 16 Jun 2014 09:32:35 +0200

On 13.06.2014 22:03, David Miller wrote:
From: Michal Privoznik <mprivozn@xxxxxxxxxx>
Date: Fri, 13 Jun 2014 11:19:51 +0200

So if I were developing brand new application I could say: I'm
dropping all this workaround code and have it clean and require say
3.16 kernel at least.

Then your application wouldn't be usable on %99 of systems for a long
long time.


How come? The application is going to be usable for as long as
library/kernel APIs won't change.

Because %99 of users are using a distribution kernel which is definitely
going to be pre-3.16 for years.


That's why every distribution out there has a mechanism to install packages of a certain version, or those providing certain symbol, whatever. Or distributions can then backport some kernel patches or something. But, that's completely unrelated to the problem I'm fixing here. I don't think this bikeshedding is useful for anything, sorry.

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