Re: [PATCH] x86_64: Save registers in saved_context during suspend and hibernation

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

 



On Mon, Aug 13, 2007 at 11:47:06PM +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rjw@xxxxxxx>
> 
> During hibernation and suspend on x86_64 save CPU registers in the saved_context
> structure rather than in a handful of separate variables.

Nice. These variables always annoyed me too when looking
at that code.

>  	DEFINE(pbe_next, offsetof(struct pbe, next));
>  	BLANK();
> +	DEFINE(saved_context_rbx, offsetof(struct saved_context, rbx));

But is there a reason you can't just use a pt_regs and then an array
for the crNs ? 

-Andi
_______________________________________________
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