login
Header Space

 
 

Re: [PATCH RFC REPOST 1/2] paravirt: refactor struct paravirt_ops into smaller pv_*_ops

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeremy Fitzhardinge <jeremy@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Andi Kleen <ak@...>, Zachary Amsden <zach@...>, Anthony Liguori <anthony@...>, Avi Kivity <avi@...>, Glauber de Oliveira Costa <glommer@...>, Nakajima, Jun <jun.nakajima@...>, Virtualization Mailing List <virtualization@...>
Date: Wednesday, October 10, 2007 - 2:35 am

On Wednesday 10 October 2007 04:24:24 Jeremy Fitzhardinge wrote:

Thanks Jeremy, I've actually taken time to finally review this in detail (I'm 
assuming you'll refactor as necessary after the x86 arch merger).


I think this gives the right answer for the wrong reasons?


Do you actually need to define this?  See below...


Hmm, that's ugly.  It was ugly before, but it's uglier now.  Maybe just 
use "unsigned char ud2a[] = { 0x0f, 0x0b };" in paravirt_patch_default?

...

This is the bit I don't get.  Why not just declare struct pv_info pvinfo, etc, 
and use the declaration of struct paravirt_ops to get your unique 
offset-based identifiers for patching?

Rest looks fine...

Thanks!
Rusty.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RFC REPOST 1/2] paravirt: refactor struct paravirt_op..., Jeremy Fitzhardinge, (Tue Oct 9, 2:24 pm)
Re: [PATCH RFC REPOST 1/2] paravirt: refactor struct paravir..., Rusty Russell, (Wed Oct 10, 2:35 am)
Re: [PATCH RFC REPOST 1/2] paravirt: refactor struct paravir..., Jeremy Fitzhardinge, (Wed Oct 10, 2:02 pm)
Re: [PATCH RFC REPOST 1/2] paravirt: refactor struct paravir..., Jeremy Fitzhardinge, (Fri Oct 12, 3:16 pm)
Re: [PATCH RFC REPOST 1/2] paravirt: refactor struct paravir..., Jeremy Fitzhardinge, (Mon Oct 15, 3:23 pm)
Re: [PATCH RFC REPOST 1/2] paravirt: refactor struct paravir..., Jeremy Fitzhardinge, (Wed Oct 10, 1:48 pm)
speck-geostationary