Re: Changes to PM layer break userspace

From: Matthew Garrett
Date: Wed Dec 20 2006 - 00:54:08 EST


On Tue, Dec 19, 2006 at 09:34:17PM -0800, Greg KH wrote:

> I would be very interested to see any newer SuSE programs using that
> interface. Just point them out to me and I'll quickly fix them.

As far as I can tell, powersaved still uses these.. I'm not quite sure
how you can fix it without just removing the functionality from it...

> And yes, as a SuSE developer (and one of the people in charge of the
> SuSE kernels), I have no problem with these files just going away.
> Because, as David keeps repeating, they are broken and wrong.

In the common case, it works perfectly well for the management of
individual PCI devices. Yes it's "wrong", in much the same way as (say)
the IDE bus registration/unregistration code. But we keep that around
because despite it being even more broken than devices/.../power/state,
people are still actually using it and we haven't provided any sort of
alternative.

Seriously. How many pieces of userspace-visible functionality have
recently been removed without there being any sort of alternative?
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
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/