On 07/10/15 12:52, Ian Campbell wrote:
> On Tue, 2015-10-06 at 10:14 +0100, Wei Liu wrote:
>> On Mon, Oct 05, 2015 at 02:12:17PM +0100, Andrew Cooper wrote:
>>> Having the internals of xc_cpuid_policy() make hypercalls to collect
>>> domain
>>> information causes xc_cpuid_apply_policy() to be very
On Tue, 2015-10-06 at 10:14 +0100, Wei Liu wrote:
> On Mon, Oct 05, 2015 at 02:12:17PM +0100, Andrew Cooper wrote:
> > 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
On Mon, Oct 05, 2015 at 02:12:17PM +0100, Andrew Cooper wrote:
> 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
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 remo