Re: [PATCH] kexec based hibernation: a prototype of kexec multi-stage load

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Thursday, May 15, 2008 - 11:39 am

"Huang, Ying" <ying.huang@intel.com> writes:


Yes.  Because the stack state is different we need to be careful.

However I don't see that we care how we got to the proper piece of
code.  If we don't care we don't need to distinguish them.

Therefore I see two possible solutions.
1) Write a tiny trampoline that goes in the core file to keep
   the calling conventions sane.

2) After we figure out our address read the stack pointer from
   a fixed location and simply set it.  (This is my preference)

Eric
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] kexec based hibernation: a prototype of kexec ..., Eric W. Biederman, (Wed May 14, 2:43 pm)
Re: [PATCH] kexec based hibernation: a prototype of kexec ..., Eric W. Biederman, (Thu May 15, 11:39 am)
Re: [PATCH] kexec based hibernation: a prototype of kexec ..., Eric W. Biederman, (Thu May 15, 7:25 pm)
Re: [PATCH] kexec based hibernation: a prototype of kexec ..., Eric W. Biederman, (Thu May 15, 7:55 pm)
Re: [PATCH] kexec based hibernation: a prototype of kexec ..., Eric W. Biederman, (Thu May 15, 8:33 pm)
Re: [PATCH] kexec based hibernation: a prototype of kexec ..., Eric W. Biederman, (Sat May 17, 6:59 pm)