[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0801250955210.4190-100000@iolanthe.rowland.org>
Date: Fri, 25 Jan 2008 09:58:00 -0500 (EST)
From: Alan Stern <stern@...land.harvard.edu>
To: Pavel Machek <pavel@....cz>
cc: "Rafael J. Wysocki" <rjw@...k.pl>,
Andrew Morton <akpm@...ux-foundation.org>,
Michael Buesch <mb@...sch.de>,
pm list <linux-pm@...ts.linux-foundation.org>,
Len Brown <lenb@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
<bcm43xx-dev@...ts.berlios.de>,
Alessandro Rubini <rubini@...vis.unipv.it>,
Richard Purdie <rpurdie@...ys.net>
Subject: Re: [PATCH -mm 5/5] b43: Avoid unregistering device objects during
suspend
On Fri, 25 Jan 2008, Pavel Machek wrote:
> Maybe we should have global suspend_in_progress (or maybe system_state
> == suspending?) and automatically switch to schedule_removal() while
> it is set?
:-) There was a time a couple of years ago when you objected violently
to the mere suggestion of such a global variable!
It's not a bad idea IMO. But if it does get implemented, a global
function would be better than a global variable. It would provide
more encapsulation.
Alan Stern
--
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