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: Thursday, October 11, 2007 - 10:01 am

On Thursday 11 October 2007 04:02:50 Jeremy Fitzhardinge wrote:

	Sure, but this can actually be a temporary thing inside the patch code (or at 
least static to that file if it's too big for the stack).

	struct paravirt_ops patch_template = { .pv_info = pv_info, .pv_cpu_ops = 
pv_cpu_ops, ... };

	Then you can even rename struct paravirt_ops to "struct patch_template" and 
we're well on the way to making this a generic function-call patching 
mechanism, rather than something paravirt-specific.

Hope that clarifies my thinking...
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..., Jeremy Fitzhardinge, (Wed Oct 10, 2:02 pm)
Re: [PATCH RFC REPOST 1/2] paravirt: refactor struct paravir..., Rusty Russell, (Thu Oct 11, 10:01 am)
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