[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen: cache current vcpu
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@xxxxxxx> wrote: > > Hi! > > > > Attached patch caches current vcpu. > > > > Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx> -- 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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |