login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
April
»
13
Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Pavel Machek
Subject:
Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)
Date: Friday, April 13, 2007 - 3:40 pm
Hi!
quoted text
> > > > > Well, it looks like someone allocated about 6000 pages after we had freed > > > > > enough memory for suspending. > > > > > > > > We have a tunable allowance in Suspend2 for this, because fglrx > > > > allocates a lot of pages in its suspend routine if DRI is enabled. I > > > > think some other drivers do too, but fglrx is the main one I know. > > > > > > I wasn't aware of that, thanks for the information. > > > > > > I think this means we'll probably need to add a tunable, similar to image_size, > > > that will allow the users to specify how much spare memory they want to reserve > > > for suspending (instead of the constant PAGES_FOR_IO). IMO we can call it > > > 'spare_memory'. > > > > Just increase PAGES_FOR_IO. This should not be tunable. > > Well, I'm not sure. First, we don't really know what the value of it should be > and this alone is a good enough reason for making it tunable, IMHO. Second, I > think different systems may need different PAGES_FOR_IO and taking just the > maximum (even if we learn how much that actually is) seems to be wasteful in
Well, it is wasteful as in "we save slightly smaller image than we could". That's okay with me. Pavel -- (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:
2.6.21-rc5: swsusp: Not enough free memory
, Jiri Slaby
, (Thu Mar 29, 12:44 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Rafael J. Wysocki
, (Thu Mar 29, 7:39 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Jiri Slaby
, (Thu Mar 29, 7:39 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Jiri Slaby
, (Sun Apr 1, 11:17 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Rafael J. Wysocki
, (Sun Apr 1, 12:23 pm)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Jiri Slaby
, (Mon Apr 2, 1:24 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Rafael J. Wysocki
, (Mon Apr 2, 2:18 pm)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Jiri Slaby
, (Tue Apr 3, 12:37 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Rafael J. Wysocki
, (Tue Apr 3, 3:50 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Jiri Slaby
, (Tue Apr 3, 12:59 pm)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Jiri Slaby
, (Mon Apr 9, 1:07 pm)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Rafael J. Wysocki
, (Mon Apr 9, 1:20 pm)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Jiri Slaby
, (Wed Apr 11, 12:36 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Rafael J. Wysocki
, (Wed Apr 11, 2:55 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Jiri Slaby
, (Wed Apr 11, 3:45 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Rafael J. Wysocki
, (Wed Apr 11, 7:40 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Jiri Slaby
, (Wed Apr 11, 8:02 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Rafael J. Wysocki
, (Thu Apr 12, 2:36 pm)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Jiri Slaby
, (Fri Apr 13, 3:14 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Rafael J. Wysocki
, (Fri Apr 13, 5:00 am)
Re: 2.6.21-rc5: swsusp: Not enough free memory
, Nigel Cunningham
, (Fri Apr 13, 5:21 am)
[RFD] swsusp problem: Drivers allocate much memory during ...
, Rafael J. Wysocki
, (Fri Apr 13, 1:41 pm)
Re: [RFD] swsusp problem: Drivers allocate much memory dur ...
, Nigel Cunningham
, (Fri Apr 13, 2:34 pm)
Re: [RFD] swsusp problem: Drivers allocate much memory dur ...
, Chuck Ebbert
, (Fri Apr 13, 2:40 pm)
Re: [RFD] swsusp problem: Drivers allocate much memory dur ...
, Pavel Machek
, (Fri Apr 13, 3:10 pm)
Re: [RFD] swsusp problem: Drivers allocate much memory dur ...
, Nigel Cunningham
, (Fri Apr 13, 3:34 pm)
Re: [RFD] swsusp problem: Drivers allocate much memory dur ...
, Rafael J. Wysocki
, (Fri Apr 13, 3:35 pm)
Re: [RFD] swsusp problem: Drivers allocate much memory dur ...
, Nigel Cunningham
, (Fri Apr 13, 3:36 pm)
Re: [linux-pm] [RFD] swsusp problem: Drivers allocate much ...
, Pavel Machek
, (Fri Apr 13, 3:38 pm)
Re: [RFD] swsusp problem: Drivers allocate much memory dur ...
, Pavel Machek
, (Fri Apr 13, 3:40 pm)
Re: [linux-pm] [RFD] swsusp problem: Drivers allocate much ...
, Nigel Cunningham
, (Fri Apr 13, 3:43 pm)
Re: [RFD] swsusp problem: Drivers allocate much memory dur ...
, Nigel Cunningham
, (Fri Apr 13, 3:45 pm)
Re: [RFD] swsusp problem: Drivers allocate much memory dur ...
, Rafael J. Wysocki
, (Fri Apr 13, 3:57 pm)
Re: [RFD] swsusp problem: Drivers allocate much memory dur ...
, Nigel Cunningham
, (Fri Apr 13, 4:03 pm)
Re: [RFD] swsusp problem: Drivers allocate much memory dur ...
, Rafael J. Wysocki
, (Sat Apr 14, 2:33 am)
Re: [linux-pm] [RFD] swsusp problem: Drivers allocate much ...
, Rafael J. Wysocki
, (Sat Apr 14, 3:53 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tony Luck
Re: Hardware Error Kernel Mini-Summit
James Bottomley
Re: [PATCH -mm 1/2] scsi: remove dma_is_consistent usage in 53c700
Andrey Borzenkov
Re: [possible regression] 2.6.22 reiserfs/libata sporadically hangs on resume from...
Linus Torvalds
Linux 2.6.26-rc6
Jeffrey V. Merkey
Re: Versioning file system
git
:
Morten Welinder
Re: [PATCH] use xrealloc in help.c
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Jörg Sommer
[PATCH v2 08/13] Unify the lenght of $SHORT* and the commits in the TODO list
Boyd Lynn Gerber
Re: [VOTE] git versus mercurial
Stefan Näwe
Re: [PATCH] git-gui: use --exclude-standard to check for untracked files
linux-netdev
:
Andreas Sundstrom
Re: ~60k interrupts/sec for 1Gb/s iperf with r8169
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
Denys Fedoryshchenko
Re: circular locking, mirred, 2.6.24.2
David Miller
Re: [PATCH -next] sfc: Use correct macro to set event bitfield
David Miller
Re: [PATCH] ipv6: fix display of local and remote sit endpoints
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
OMAP: DSS2: SDI driver
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
m68k: amiga - Mouse platform device conversion
Linux Kernel Mailing List
drivers/acpi: use kasprintf
openbsd-misc
:
frantisek holop
Re: mount ffs as msdos, system hangs
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Úlfar M. E. Johnson
installing openbsd in xen
Eric Furman
Re: Defending OpenBSD Performance
Damien Miller
Re: Patching a SSH 'Weakness'
Colocation donated by:
Syndicate