virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Zachary Amsden <zach@vmware.com>
To: Jeremy Fitzhardinge <jeremy@goop.org>,
	Rusty Russell <rusty@rustcorp.com.au>,
	Chris Wright <chrisw@sous-sol.org>
Cc: Virtualization Mailing List <virtualization@lists.osdl.org>
Subject: Re: [PATCH RFC] first cut at splitting up paravirt_ops
Date: Mon, 09 Jul 2007 17:53:05 -0700	[thread overview]
Message-ID: <4692D871.60002@vmware.com> (raw)
In-Reply-To: <4692D076.6060204@goop.org>

Jeremy Fitzhardinge wrote:
> Here's a first attempt at splitting up paravirt_ops into more specific 
> chunks.  Its pretty clunky and chunky; mostly just a lot of 
> replacement.  The grouping of ops is very first cut; I'm open to 
> suggestions about what groups should exist and what ops they each 
> should contain.
>

Well, I think they are pretty good, but for the init group of ops, it 
seems it would be clearer conceptually to group pagetable setup with the 
MMU hooks and time init with the time operations.  Otherwise, the init 
group gets very jumbled as we pull in new interfaces (APIC has BSP and 
AP init functions, for example).


> The only slightly subtle part is that I've kept the structures wrapped 
> in a paravirt_ops structure, primarily so that we can still use 
> offsetof for generating patching IDs.  The paravirt_ops is static, and 
> I extract the sub-groups with global aliases which can be individually 
> exported.

I think that is probably the best solution; splitting the patch code to 
deal with individual structure seems awkward.

Zach

  reply	other threads:[~2007-07-10  0:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-10  0:19 [PATCH RFC] first cut at splitting up paravirt_ops Jeremy Fitzhardinge
2007-07-10  0:53 ` Zachary Amsden [this message]
2007-07-10  6:40   ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4692D871.60002@vmware.com \
    --to=zach@vmware.com \
    --cc=chrisw@sous-sol.org \
    --cc=jeremy@goop.org \
    --cc=rusty@rustcorp.com.au \
    --cc=virtualization@lists.osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).