[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070528100448.GB18276@elf.ucw.cz>
Date: Mon, 28 May 2007 12:04:48 +0200
From: Pavel Machek <pavel@....cz>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Matthew Garrett <mjg59@...f.ucam.org>,
Romano Giannetti <romanol@...omillas.es>,
Chris Wright <chrisw@...s-sol.org>,
Chuck Ebbert <cebbert@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
stable@...nel.org, Justin Forbes <jmforbes@...uxtx.org>,
Zwane Mwaikambo <zwane@....linux.org.uk>,
Theodore Ts'o <tytso@....edu>,
Randy Dunlap <rdunlap@...otime.net>,
Dave Jones <davej@...hat.com>,
Chuck Wolber <chuckw@...ntumlinux.com>,
Chris Wedgwood <reviews@...cw.f00f.org>,
Michael Krufky <mkrufky@...uxtv.org>,
akpm@...ux-foundation.org, alan@...rguk.ukuu.org.uk,
"Rafael J. Wysocki" <rjw@...k.pl>
Subject: Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review
Hi!
> > As far as I can tell the PPC code simply shuts down the devices without
> > worrying about userspace at all. If this was reliable, what prevents us
> > from simply disabling the freezer for STR?
>
> Personally, I think that's the right thing to do.
>
> And by "disabling the freezer", I think we should just not call it at all.
> However, sadly, right now it's called from common code. I'll happily take
> a tested patch to split that code sequence up, and try to do it in 2.6.23,
> if somebody has the energy (I'm getting to the point where I may just do
> it myself, but my lazy nature still hopes for a STR person to step
> forward).
I guess we should warn the driver authors, then; and decide what
driver authors should do.
If I'm video4linux driver for grabbing screen, have been suspended,
and someone asks me to read a frame, should I
a) return -ESORRYIMSUSPENDED
b) just block the caller
?
a) seems ugly to my eyes (userspace should not know about suspend).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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