Re: + rework-pm_ops-pm_disk_mode-kill-misuse.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> > No, once SOFTWARE_SUSPEND is configured there's *no way* to disable it
> > after the fact via pm_ops. Read valid_state() in kernel/power/main.c.
> 
> So how does a platform with only flash (and an insufficient amount of
> flash at that) tell the suspend code that suspend-to-disk is not
> supported?

Hohum, perhaps it can suspend to SD card? Or perhaps it can suspend
over network?

Suspend code will properly fail if there's not enough swap space.

...plus you are allowed to return -EINVAL from arch_prepare_suspend()
or how is it called.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux