[linux-pm] Re: swsusp: which page should be saved?

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

 



>>> >>> It probably is. But you need to save modules. 
>>> >>I just consider the region from kernel start(1M) to the 
>>end of rodata.
>>> >>In my test, the region is about 4M memory. Just adding 
>>> >several lines to
>>> >>save 4M memory is worthy.
>>> >
>>> >Why it is safe? :-)  If you think BIOS as a black box, and 
>>don't know
>>> >how BIOS works,
>>> >then, you have to save them for safety concern. 
>>> >
>>> s/BIOS/Modules/
>>As I said, I just consider the region from kernel start to the end of
>>rodata (get from the link script). modules should be saved/restored as
>>normal.
>
>I'm not sure if this a real case, but I'm sure in this case
>kernel text needs to be saved too if  the kernel 
>has been patched with binary patch at run-time.

Another real case is that the image on disk has been changed ?
But probably, user need previous S4 resume back correctly.

Yes, all these are corner cases. 


[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