Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

On Saturday, 14 April 2007 00:10, Pavel Machek wrote:

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
the vast majority of cases.  Finally, I think it may be possible to speed up
image saving by increasing PAGES_FOR_IO without playing with the
image size and we can let the user try it (think of distro kernels that are
compiled for many different users).

Still, I'm not going to fight for that.


Okay, I'm going to prepare a patch along these lines.

Greetings,
Rafael
-
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 ..., Rafael J. Wysocki, (Fri Apr 13, 3:35 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 ..., 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)