All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christoph Egger" <Christoph.Egger@amd.com>
To: xen-devel@lists.xensource.com
Subject: Re: [PATCH] xen: cache current vcpu
Date: Mon, 29 Oct 2007 20:23:20 +0200	[thread overview]
Message-ID: <200710291923.20740.Christoph.Egger@amd.com> (raw)
In-Reply-To: <C34BC77D.17957%Keir.Fraser@cl.cam.ac.uk>


I thought, the changes to register_guest_nmi_callback() and 
do_set_trap_table() make some sense. The rest is just for consistency.

Take what you like, leave the rest :)

Christoph



On Monday 29 October 2007 18:23:09 Keir Fraser wrote:
> Gcc is quite capable of eliminating common subexpressions involving
> current(), and I don't think this patch aids code readability (especially
> the set_debugreg() change -- p==current means more to me than p==v).
>
>  -- Keir
>
> On 29/10/07 15:43, "Christoph Egger" <Christoph.Egger@amd.com> wrote:
> > Hi!
> >
> > Attached patch caches current vcpu.
> >
> > Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>



-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

  reply	other threads:[~2007-10-29 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-29 15:43 [PATCH] xen: cache current vcpu Christoph Egger
2007-10-29 17:23 ` Keir Fraser
2007-10-29 18:23   ` Christoph Egger [this message]
2007-10-30 10:54   ` Jan Beulich

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=200710291923.20740.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.