Hibernation out-of-memory problem.

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

 



Hi!

I'm trying to port a graphics DRM device driver over to the new power 
management hooks in

struct dev_pm_ops.

During the "prepare" call, Video RAM contents may be copied either to 
shmem objects or pages allocated using alloc_page().
Unfortunately, this seems to lead to the hibernation process running out 
of free pages.

One possible cause is that the function swsusp_shrink_memory() is called 
before the prepare() call, and therefore doesn't free up enough memory.

What would be the correct way around this? Should swsusp_shrink_memory() 
be moved to after prepare(), or is it possible to get some kind of 
notification after user space processes is stopped, but before 
swsusp_shrink_memory()?

Thanks
Thomas

_______________________________________________
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