Messages in this thread | | | Date | Thu, 24 Apr 2003 07:41:11 +1200 | From | Nigel Cunningham <> | Subject | Re: Fix SWSUSP & !SWAP |
| |
Swsusp will use the portion of your swap partition that is unused when you start to suspend. The version currently in the 2.5 tree frees most of your memory before suspending, and so doesn't need that much swap at all. The version that I'm working on merging only frees memory if it is necessary to fit the image in the available swap or to have enough memory to be able to save the image. Thus, you need a lot more swap for my version. (eg. I have 640MB ram on my laptop and a ~700MB swap partition).
Hope this helps.
Regards,
Nigel
On Thu, 2003-04-24 at 03:56, gigerstyle@gmx.ch wrote: > Hi All, > > Just a quick question: > > As I know, swsusp is for hybernation (S4), right? The memory content > will be written to the swap partition. What happens if the swap space > is already used from programs? Abort? Or do I have to reserve swap > space which never has to be used from programs? > > Thank you! > > Marc > > > -- > Nigel Cunningham > 495 St Georges Road South, Hastings 4201, New Zealand > > Be diligent to present yourself approved to God as a workman who does > not need to be ashamed, handling accurately the word of truth. > -- 2 Timothy 2:14, NASB.
- 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/
| |