On Sunday, 1 April 2007 20:17, Jiri Slaby wrote:Well, I suspect this is somehow related to highmem, so you can try to check if disabling highmem helps. Still, I'd like to understand why it occurs (I can't reproduce it, so far) and I have a theory. Namely, I think that on your system the initial image size is greater than 50% of RAM (you can check that by running "cat /sys/power/image_size" before you suspend for the first time after a fresh boot) and the memory shrinker fails to do its job in that case. What s2disk does is to set image_size below 50% of the RAM size and that's why the subsequent "echo disk > ..." suspend works too. As a workaround, you can try to change the initial image size so that it's smaller than a half of the RAM size. If that works, I'd like to send you a debug patch, if you don't mind. :-) Greetings, Rafael -
| Linus Torvalds | Linux 2.6.21-rc4 |
| Greg Kroah-Hartman | [PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Stephane Eranian | Re: [PATCH] fix up perfmon to build on -mm |
git: | |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Linus Torvalds | Re: silent semantic changes with reiser4 |
| jim owens | Re: ext4 - getting at birth time (file create time) and getting/setting nanosecond... |
| Alan Cox | Re: impact of 4k sector size on the IO & FS stack |
| Peter Zijlstra | Re: + mm-balance_dirty_pages-reduce-calls-to-global_page_state-to-reduce-c ache-re... |
