login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
June
»
4
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Pavel Machek <pavel@...>
To: Alan Stern <stern@...>
Cc: Matthew Garrett <mjg59@...>, Rafael J. Wysocki <rjw@...>, pm list <linux-pm@...>, LKML <linux-kernel@...>, Nigel Cunningham <nigel@...>, Oliver Neukum <oliver@...>
Subject:
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend
Date: Monday, June 4, 2007 - 7:00 am
Hi!
quoted text
> > > The theoretical answer is that it behaves the way we want. The kernel > > > thread does selective resumes in response to device requests. If such > > > a request comes in while the system is asleep it will awaken the > > > system; so it's only logical that a request coming in while the system > > > is in the process of going to sleep should abort the suspend. > > > > I'd say that it shows ppc being broken. User wanted to suspend the > > system, and now unrelated task did lsusb... and system will not sleep. > > > > AFAICT it is DoS issue -- if one of your users keeps doing lsusb, root > > will not be able to suspend the system. > > This is a matter of one's philosophy. In suspend-to-RAM, should tasks > be frozen or should I/O queues be frozen? > > With the USB subsystem I have followed the approach taken by the PM > core, which is that tasks are frozen. But one can -- and Linus has on > at least one occasion -- make a good case that tasks should be left > running while only I/O is frozen. This would require the subsystem to > distinguish between a selective device suspend and a system-wide > suspend-to-RAM, so that selective resume could be enabled on demand in > one case but not the other. > > It's quite doable in principle -- it's just not the technique I used.
I guess we need to do that. Random user should not be able to prevent machine from sleeping. -- (english)
http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC][PATCH -mm 0/3] PM: Hibernation and suspend notifiers
, Rafael J. Wysocki
, (Sun May 27, 4:29 pm)
[RFC][PATCH -mm 0/2] PM: Hibernation and suspend notifiers (...
, Rafael J. Wysocki
, (Fri Jun 1, 8:41 pm)
[RFC][PATCH -mm 1/2] PM: Introduce hibernation and suspend n...
, Rafael J. Wysocki
, (Fri Jun 1, 8:43 pm)
Re: [RFC][PATCH -mm 1/2] PM: Introduce hibernation and suspe...
, Pavel Machek
, (Sun Jun 3, 12:41 pm)
Re: [RFC][PATCH -mm 1/2] PM: Introduce hibernation and suspe...
, Rafael J. Wysocki
, (Sun Jun 3, 6:38 pm)
Re: [RFC][PATCH -mm 1/2] PM: Introduce hibernation and suspe...
, Pavel Machek
, (Sun Jun 3, 6:59 pm)
Re: [RFC][PATCH -mm 1/2] PM: Introduce hibernation and suspe...
, Rafael J. Wysocki
, (Mon Jun 4, 3:56 am)
[RFC][PATCH -mm 2/2] PM: Disable usermode helper before hibe...
, Rafael J. Wysocki
, (Fri Jun 1, 8:44 pm)
Re: [RFC][PATCH -mm 2/2] PM: Disable usermode helper before ...
, Pavel Machek
, (Sun Jun 3, 12:42 pm)
[RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hi...
, Rafael J. Wysocki
, (Sun May 27, 4:31 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Alan Stern
, (Mon May 28, 11:55 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Rafael J. Wysocki
, (Mon May 28, 1:43 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Ray Lee
, (Mon May 28, 4:51 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Pavel Machek
, (Mon May 28, 4:59 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Pavel Machek
, (Mon May 28, 9:07 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Matthew Garrett
, (Sun May 27, 4:49 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Kay Sievers
, (Sun May 27, 5:49 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Matthew Garrett
, (Sun May 27, 6:04 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Kay Sievers
, (Sun May 27, 6:16 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Rafael J. Wysocki
, (Mon May 28, 3:43 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Pavel Machek
, (Mon May 28, 7:15 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Kay Sievers
, (Mon May 28, 7:24 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Michael-Luke Jones
, (Mon May 28, 7:38 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Kay Sievers
, (Mon May 28, 7:51 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Michael-Luke Jones
, (Mon May 28, 8:26 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Pavel Machek
, (Mon May 28, 9:00 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Michael-Luke Jones
, (Mon May 28, 9:10 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Kay Sievers
, (Mon May 28, 8:47 am)
Re: [linux-pm] Re: [RFC][PATCH -mm 3/3] PM: Disable _request...
, Pavel Machek
, (Mon May 28, 7:45 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Pavel Machek
, (Mon May 28, 7:28 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Rafael J. Wysocki
, (Mon May 28, 7:28 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Michael-Luke Jones
, (Mon May 28, 4:48 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Rob Landley
, (Tue May 29, 6:51 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Pavel Machek
, (Wed May 30, 3:50 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Kay Sievers
, (Mon May 28, 5:06 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Rob Landley
, (Tue May 29, 5:19 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Michael-Luke Jones
, (Mon May 28, 6:41 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Michael-Luke Jones
, (Mon May 28, 6:26 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Kay Sievers
, (Mon May 28, 8:01 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Michael-Luke Jones
, (Mon May 28, 8:07 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Rafael J. Wysocki
, (Sun May 27, 6:01 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Rafael J. Wysocki
, (Sun May 27, 5:45 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Nigel Cunningham
, (Mon May 28, 4:30 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Rafael J. Wysocki
, (Mon May 28, 7:22 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Matthew Garrett
, (Sun May 27, 6:01 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Alan Stern
, (Mon May 28, 12:09 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Matthew Garrett
, (Mon May 28, 12:12 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Alan Stern
, (Mon May 28, 12:43 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Pavel Machek
, (Mon May 28, 4:57 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Alan Stern
, (Mon May 28, 6:29 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Pavel Machek
, (Mon Jun 4, 7:00 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Alan Stern
, (Tue Jun 5, 2:45 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Pavel Machek
, (Tue Jun 5, 4:26 pm)
Re: [linux-pm] Re: [RFC][PATCH -mm 3/3] PM: Disable _request...
, David Brownell
, (Tue May 29, 4:09 pm)
Re: [linux-pm] Re: [RFC][PATCH -mm 3/3] PM: Disable _request...
, Alan Stern
, (Tue May 29, 4:48 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Matthew Garrett
, (Mon May 28, 12:54 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Alan Stern
, (Mon May 28, 4:03 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Rafael J. Wysocki
, (Mon May 28, 3:44 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Michael-Luke Jones
, (Sun May 27, 4:45 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Rob Landley
, (Tue May 29, 4:41 pm)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Pavel Machek
, (Mon May 28, 9:01 am)
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
, Rafael J. Wysocki
, (Sun May 27, 5:55 pm)
[RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Rafael J. Wysocki
, (Sun May 27, 4:30 pm)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Alan Stern
, (Mon May 28, 11:56 am)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Rafael J. Wysocki
, (Tue May 29, 6:24 pm)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Pavel Machek
, (Wed May 30, 11:37 am)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Rafael J. Wysocki
, (Wed May 30, 4:44 pm)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Rafael J. Wysocki
, (Wed May 30, 5:11 pm)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Pavel Machek
, (Wed May 30, 6:29 pm)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Rafael J. Wysocki
, (Thu May 31, 1:42 am)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Nigel Cunningham
, (Wed May 30, 6:24 pm)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Rafael J. Wysocki
, (Thu May 31, 1:44 am)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Pavel Machek
, (Thu May 31, 10:23 am)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Rafael J. Wysocki
, (Thu May 31, 4:02 pm)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Nigel Cunningham
, (Thu May 31, 5:56 pm)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Rafael J. Wysocki
, (Mon May 28, 1:29 pm)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Pavel Machek
, (Mon May 28, 9:12 am)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Rafael J. Wysocki
, (Mon May 28, 1:26 pm)
Re: [RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
, Nigel Cunningham
, (Mon May 28, 5:49 am)
[RFC][PATCH -mm 2/3] PM: Disable usermode helper before hibe...
, Rafael J. Wysocki
, (Sun May 27, 4:30 pm)
Re: [RFC][PATCH -mm 2/3] PM: Disable usermode helper before ...
, Pavel Machek
, (Mon May 28, 9:04 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Heiko Carstens
[patch -mm] s390: struct bin_attribute changes
Andrew Morton
2.6.25-rc2-mm1
Eric W. Biederman
Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jens Axboe
Re: [BUG] New Kernel Bugs
Andrew Morton
Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
616 guests
online.
Syndicate