Andrew Cooper
bf87f3a24f
tools/libxc: Improve efficiency of xc_cpuid_apply_policy()
...
Having the internals of xc_cpuid_policy() make hypercalls to collect domain
information causes xc_cpuid_apply_policy() to be very inefficient.
Re-order operations to collect all information at once at the outermost layer,
and pass a structure in to all cpuid policy generation functions.
This removes several hypercalls (4 from HVM, 3 from PV) for each of the
up-to 108 leaves processed.
No change in the eventual policy provided, although all the information
gathering how has (or has correct) error checking.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com >
Acked-by: Wei Liu <wei.liu2@citrix.com >
2015-10-07 12:26:25 +01:00
..
2015-09-28 17:29:45 +02:00
2010-08-24 18:42:59 +01:00
2015-08-11 15:39:01 +01:00
2015-07-29 11:14:07 +01:00
2013-12-04 14:02:10 +00:00
2015-05-14 13:03:57 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-10-07 12:26:25 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-09-21 12:32:50 +01:00
2015-07-29 11:14:07 +01:00
2015-09-28 17:28:35 +02:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-09-25 16:12:00 +01:00
2014-11-25 15:53:53 +00:00
2013-04-22 12:46:30 +01:00
2013-04-22 12:46:30 +01:00
2014-07-04 09:47:01 +01:00
2014-07-18 13:38:08 +01:00
2013-04-22 12:46:30 +01:00
2013-04-22 12:46:30 +01:00
2013-10-07 09:42:51 +02:00
2015-09-28 17:28:35 +02:00
2015-09-28 17:28:35 +02:00
2015-09-11 16:19:23 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-08-21 08:45:55 +01:00
2013-11-12 11:47:07 +01:00
2015-08-13 10:25:11 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-09-28 17:29:45 +02:00
2015-03-05 16:27:49 +00:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-09 10:07:38 +01:00
2014-10-06 12:35:55 +02:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-05-05 14:30:46 +01:00
2015-05-05 14:30:46 +01:00
2015-05-05 14:30:46 +01:00
2015-05-05 14:30:46 +01:00
2015-05-14 13:01:11 +01:00
2015-07-15 11:22:54 +01:00
2015-07-15 11:22:54 +01:00
2015-09-07 11:54:29 +01:00
2015-09-07 11:54:30 +01:00
2015-07-15 11:22:54 +01:00
2015-05-14 13:00:57 +01:00
2015-09-07 11:54:22 +01:00
2015-05-14 13:01:11 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-09-02 08:48:12 -04:00
2015-07-29 11:14:07 +01:00
2014-06-27 14:13:23 +01:00
2015-07-29 11:14:07 +01:00
2015-09-28 17:28:35 +02:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00
2015-07-29 11:14:07 +01:00