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

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

 



On Thu, 2006-03-16 at 07:08 +0800, Pavel Machek wrote:
> On Thu 16-03-06 11:53:27, Shaohua Li wrote: 
> > I thought there was a discussion before, but I still saw many pages
> like 
> > BIOS reserved are saved/restored in swsusp. Pages reserved by BIOS,
> not 
> > used by OS and kernel text should be skipped in swsusp to me. Below 
> > patch works in my test. Any thought?
> 
> This will need quite a lot of testing.
> 
> Does it actually fix anything?
No, it doesn't. Just want to speed up swsusp.

> I'm afraid that some of the BIOSs state is actually shared knowledge 
> with kernel, and that we should better save it, so that kernel's and 
> BIOS's view are consistent after resume.
Fair enough. ACPI BIOS does communicate with OS by reserved memory. But
in the mean time, blindly save/restore such mem might be dangerous. If
all ACPI devices have their suspend/resume method, reserved memory
should not be saved.

Anyway, skipping kernel text should be safe, isn't it?

Thanks,
Shaohua



[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