Re: [PATCH] [5/12] x86_64: Make patching more robust, fix paravirt issue

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Glauber de Oliveira Costa
Date: Tuesday, August 21, 2007 - 12:30 am

On 8/20/07, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
Damn,

I can't believe I've just lost a night tracking the issue, without
seeing the discussion here ;-)
I came out to this very same conclusion, and was about to send a patch
that fixes it, by doing a memcpy before starting the instruction
replacement.

(I wouldn't say anything, as this is solved, but my night have to get
some value, after all! ;-)

So I'm with Jeremy. We don't lose too much by putting a memcpy there,
this code is not exactly critical. It also seems cleaner, and less
error prone. I have a patch ready here, but I think by this time, you
guys have too ;-)

-- 
Glauber de Oliveira Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] [0/12] x86 Late merge bug fixes for 2.6.23, Andi Kleen, (Thu Aug 9, 5:41 am)
[PATCH] [6/12] x86_64: Early segment setup for VT, Andi Kleen, (Thu Aug 9, 5:41 am)
[PATCH] [12/12] x86_64: Fix start_kernel warning, Andi Kleen, (Thu Aug 9, 5:41 am)
Re: [PATCH] [0/12] x86 Late merge bug fixes for 2.6.23, Muli Ben-Yehuda, (Thu Aug 9, 6:06 am)
Re: [PATCH] [4/12] x86_64: Disable CLFLUSH support again, Muli Ben-Yehuda, (Thu Aug 9, 6:11 am)
Re: [PATCH] [5/12] x86_64: Make patching more robust, fix ..., Jeremy Fitzhardinge, (Fri Aug 17, 5:05 pm)
Re: [PATCH] [5/12] x86_64: Make patching more robust, fix ..., Jeremy Fitzhardinge, (Sat Aug 18, 2:58 pm)
[PATCH] x86: skip paravirt patching when appropriate, Chris Wright, (Sat Aug 18, 3:28 pm)
Re: [PATCH] x86: skip paravirt patching when appropriate, Zachary Amsden, (Sat Aug 18, 8:08 pm)
Re: [PATCH] x86: skip paravirt patching when appropriate, Zachary Amsden, (Sat Aug 18, 10:55 pm)
Re: [PATCH] [5/12] x86_64: Make patching more robust, fix ..., Jeremy Fitzhardinge, (Sun Aug 19, 11:15 pm)
Re: [PATCH] [5/12] x86_64: Make patching more robust, fix ..., Glauber de Oliveira ..., (Tue Aug 21, 12:30 am)
Re: [PATCH] [5/12] x86_64: Make patching more robust, fix ..., Glauber de Oliveira ..., (Tue Aug 21, 5:26 am)
Re: [PATCH] [6/12] x86_64: Early segment setup for VT, H. Peter Anvin, (Thu Oct 11, 2:30 pm)