From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from terminus.zytor.com ([2001:1868:205::10] helo=mail.zytor.com) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1Pts5S-0005Xa-5g for kexec@lists.infradead.org; Mon, 28 Feb 2011 01:39:46 +0000 Message-ID: <4D6AFCCC.7050705@zytor.com> Date: Sun, 27 Feb 2011 17:39:24 -0800 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: Saveoops: Making Kexec purgatory position-independent? References: <20110226162008.GA23879@laptop> <4D6972CE.8040401@zytor.com> In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: "Eric W. Biederman" Cc: X86-ML , KEXEC-ML , "Ahmed S. Darwish" , Haren Myneni , Simon Horman , Ingo Molnar , Vivek Goyal On 02/26/2011 04:57 PM, Eric W. Biederman wrote: > > This isn't a case of the code not being position independent. This is > case of where the relocations are applied. > This is a generic comment and may not apply to this particular case, but it's pretty easy on x86 to build a chunk of code which is self-relocating, meaning that it can be jumped to at any address without any pre-relocation and do the necessary relocations itself. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec