Thread (18 messages) 18 messages, 6 authors, 2004-01-29

Re: pmdisk working on ppc (WAS: Help port swsusp to ppc)

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2004-01-28 21:55:25

On Thu, 2004-01-29 at 03:09, Michael Schmitz wrote:
quoted
quoted
Battery requests might have been underway; pmud is running. If I read
pmu_suspend() right, pending battery requests should result in pmu_suspend
waiting for them to finish?
Normally yes... pmud isn't running at this point (all processes are frozen)
OK. I put a mdelay(100) between the PMU_SYSTEM_READY request and the
pmu_suspend() call in pmu_sys_resume and it seems to work so far. Side
note: if you are saving a large system and have multiple swap files, play
with swap priorities to make sure the pages are swapped out to the file
_not_ used for suspend.
Ah ? What's up ? suspend trashes the swap ? That's very bad...

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help