> From: Sergey Dyasli [mailto:sergey.dya...@citrix.com] > Sent: Thursday, February 23, 2017 5:33 PM > > Modify vmx_add_msr() to use a variation of insertion sort algorithm: > find a place for the new entry and shift all subsequent elements before > insertion. > > The new vmx_find_msr() exploits the fact that MSR list is now sorted > and reuses the existing code for binary search. > > Signed-off-by: Sergey Dyasli <sergey.dya...@citrix.com> > Reviewed-by: Jan Beulich <jbeul...@suse.com>
Acked-by: Kevin Tian <kevin.t...@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel