login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
23
Re: document open(/dev/snapshot) sideeffects -- was Re: [linux-pm] syncing the disks when entering sleep
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Rafael J. Wysocki
Subject:
Re: document open(/dev/snapshot) sideeffects -- was Re: [linux-pm] syncing the disks when entering sleep
Date: Friday, April 23, 2010 - 11:28 am
On Monday 05 April 2010, Pavel Machek wrote:
quoted text
> Hi! > > > > > Please note that merely _opening_ /dev/snapshot has side effects, so that's > > > > not just "three ioctls". > > > > > > I search Doc*/power/userland-swsusp.txt, and could not find mentions > > > of sideeffects. Perhaps that should be fixed? > > > > Please feel free to make the docs more complete, then. > > Yes, something like this?
Yes, looks reasonable. I've applied it to suspend-2.6/linux-next (added a changelog). Rafael
quoted text
> Signed-off-by: Pavel Machek <pavel@ucw.cz> > > --- a/Documentation/power/userland-swsusp.txt > +++ b/Documentation/power/userland-swsusp.txt > @@ -24,6 +24,10 @@ assumed to be in the resume mode. The device cannot be open for simultaneous > reading and writing. It is also impossible to have the device open more than > once at a time. > > +Even opening the device has side effects. Data structures are > +allocated, and PM_HIBERNATION_PREPARE / PM_RESTORE_PREPARE chains are > +called. > + > The ioctl() commands recognized by the device are: > > SNAPSHOT_FREEZE - freeze user space processes (the current process is > > > >
--
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:
document open(/dev/snapshot) sideeffects -- was Re: [linux ...
, Pavel Machek
, (Sun Apr 4, 11:38 pm)
Re: document open(/dev/snapshot) sideeffects -- was Re: [l ...
, Rafael J. Wysocki
, (Fri Apr 23, 11:28 am)
Re: document open(/dev/snapshot) sideeffects -- was Re: [l ...
, Pavel Machek
, (Fri Apr 23, 10:42 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trent Waddington
Re: Gaming Interface
Pekka Enberg
Re: latest -git: suspend: unable to handle kernel paging request (was Re: no_conso...
Dan Carpenter
Re: [patch] dma-debug: off by one issue
Adrian McMenamin
time_after - what on earth???
Paul E. McKenney
Re: [PATCH, RFC] v4 scalable classic RCU implementation
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
i7core_edac: Probe on Xeons eariler
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Marco Peereboom
Re: Singularity OS
Colocation donated by:
Syndicate