X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Documentation%2Fpower%2Fswsusp.txt;h=d5ffa57a1b47a853fa7467f4eccabc2a8fda6450;hb=052710fcf296f48df03c0e248eface251a7ab22c;hp=5cdab4c55e69bdcaab01455d7b3173499cf864d3;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/Documentation/power/swsusp.txt b/Documentation/power/swsusp.txt index 5cdab4c55..d5ffa57a1 100644 --- a/Documentation/power/swsusp.txt +++ b/Documentation/power/swsusp.txt @@ -202,30 +202,3 @@ or an NFS share[Work In Progress]). Questions regarding suspend2 should be sent to the mailing list available through the suspend2 website, and not to the Linux Kernel Mailing List. We are working toward merging suspend2 into the mainline kernel. - -Q: Kernel thread must voluntarily freeze itself (call 'refrigerator'). But -I found some kernel threads don't do it, and they don't freeze, and -so the system can't sleep. Is this a known behavior? - -A: All such kernel threads need to be fixed, one by one. Select place -where it is safe to be frozen (no kernel semaphores should be held at -that point and it must be safe to sleep there), and add: - - if (current->flags & PF_FREEZE) - refrigerator(PF_FREEZE); - -Q: What is the difference between between "platform", "shutdown" and -"firmware" in /sys/power/disk? - -A: - -shutdown: save state in linux, then tell bios to powerdown - -platform: save state in linux, then tell bios to powerdown and blink - "suspended led" - -firmware: tell bios to save state itself [needs BIOS-specific suspend - partition, and has very little to do with swsusp] - -"platform" is actually right thing to do, but "shutdown" is most -reliable.