[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200701261840.17194.david-b@pacbell.net>
Date: Fri, 26 Jan 2007 18:40:16 -0800
From: David Brownell <david-b@...bell.net>
To: Andrew Morton <akpm@...l.org>
Cc: Matthew Garrett <mjg59@...f.ucam.org>, Greg KH <gregkh@...e.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix /sys/device/.../power/state regression
> > > It's certainly the case that fixing those drivers would result in a
> > > better long-term situation - however, nobody currently seems to have any
> > > interest in doing so...
> >
> > And the way these things work, unfortunately, is that merging your patch
> > would ensure nobody ever gets such interest. Removing that "state" file
> > (and its bogus infrastructure) has already taken a few years too long.
>
> No, we shouldn't just break stuff for our users in the hope that said
> breakage will force some other developer to come in and fix things later.
That's not what happened though. From my perspective, what I see is some
software which chose to START using an interface that's been on its way
out for a few years now. (And deservedly so; nobody has been able to
demonstrate that it's not been broken-as-designed since day one.) That
broke the process which had been working to finally get rid of that broken
interface.
Don't the people writing such software have responsibilities too? Like,
to not start using undocumented and unstable interfaces that have been
acknowledged as broken and on-the-way-out? Joining some of the Linux PM
mailing list discussions over the past few years would have been good too,
especially ones where userspace-driven PM was the topic. (I kept asking
for real world examples, and nobody had any. Which, among other things,
suggests that tool Matthew is concerned with isn't at all well known...)
(Plus, keep in mind that this is not "breakage" in any conventional
sense of something not working. There's no oopsing or slowdown.)
> We should revert the breakage-causing patch, with the expectation that its
> submitter will ensure that all prerequisites are in place before it is
> reapplied.
Well, Linus is the one who submitted the original patch to add the
late_suspend()/early_resume() mechanism ... and there have been a few
other patches fixing issues turned up by that patch. Matthew objected
to one side effect of that. The "bypass layers" part of his patch is
as clean a workaround as can be had, I suppose.
> > > As I've said before, I think it's unreasonable to cripple interfaces for
> > > (mostly) aesthetic reasons without ensuring that equivalent
> > > functionality already exists.
> >
> > I don't recall anyone raising aesthetic concerns. And bug-equivalence
> > has never been a goal of Linux.
> >
>
> Not breaking things for end-users is a goal. Prime directive, indeed.
With limitations. Any time a bug gets fixed, it will break software
that relies on that bug. Like, hmm, this case...
We **STILL** haven't gotten solid information on the software that
broke. From what I've heard on this list it would seem to be used
on certain Ubuntu systems, but even the _name_ of the utility has
never been mentioned. When we asked for more details, what came
back was the information that the problem was really a handful of
wireless drivers.
> > > This patch restores useful functionality
> > > without breaking the extra sanity checks that you've added. I appreciate
> > > that it's not an interface that you want to support in the long term
> > > (well, even the short term...),
> >
> > You imply that it _was_ once supported, which is not true. Like any
> > other bug (in this case "design bug"), it was there and could be abused.
> > And like some other bugs, fixing it can trigger complaints from (ab)users.
>
> Could someone please explain in easy-to-understand terms what the
> real-world impact of this bug is upon our users? How many are affected,
> and under what circumstances, and with what effects?
>From what I can see, a small subset of Ubuntu users will notice that
battery life on some laptops isn't as long as it might be. Most of
that issue can be resolved by "rmmod $WLAN_DRIVER", a workaround with
a long and successful history in Linux.
- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists