[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/vtx: Introduce a typed union for CR access exit information


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Mon, 19 Mar 2018 12:56:26 +0000
  • Accept-language: en-US
  • Cc: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>
  • Delivery-date: Mon, 19 Mar 2018 12:56:42 +0000
  • Dlp-product: dlpe-windows
  • Dlp-reaction: no-action
  • Dlp-version: 11.0.0.116
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHTvFcjMdd4Ygt9dUezXrsNQl1Ks6PXipdA
  • Thread-topic: [PATCH] x86/vtx: Introduce a typed union for CR access exit information

> From: Andrew Cooper [mailto:andrew.cooper3@xxxxxxxxxx]
> Sent: Thursday, March 15, 2018 8:08 PM
> 
> This reduces code volume, and has a minor improvement on compiled size,
> probably due to the removal of several temporary variables.
> 
>   add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-50 (-50)
>   function                                     old     new   delta
>   vmx_vmexit_handler                          6881    6878      -3
>   nvmx_n2_vmexit_handler                      3473    3426     -47
> 
> Take the opportunity to make some style corrections, and add some
> ASSERT_UNREACHABLE()s in appropriate places.
> 
> No functional change.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Kevin Tian <kevin.tian@xxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.