Skip to contentSkip to conversation

New swsusp patch + Q: how to free memory?

DISCUSSION Pavel Machek 1 participant 1 message Sep 21, 2001

lore
Share & tools
lore
#0 lore raw

Hi!

Here's new swsusp patch. It no longer adds signals (breaking ABI), and it now should work okay with journaling filesystems. Hardware state restore is (mostly) not done -- that's task for someone else, like ACPI.

Last big remaining problem is "how to free memory". What's currently in swsusp patch just does no work. Any advice wanted. Don't try with hard real-time tasks. (Funny question: should suspend be supported with such beasts around? ;-). Oh and we have some by-design problems with network. Maybe some packets will be sent twice.

I wanted to free memory by eat_memory() followed by free_memory(), but that's big no-no from context swsusp is using.
Pavel

Signature · 2 lines
I'm [email protected]. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [email protected]