x86/vPMU: avoid effectively open-coding xzalloc_flex_struct()
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Apr 2021 07:25:17 +0000 (09:25 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Apr 2021 07:25:17 +0000 (09:25 +0200)
commit463e8e6cf764beda5f58117a422dcb3a06fed405
treec85aa734f300b13ce431ef51b5e47a11e258551b
parent23eda45f12ec98638d0175b615d3bc3428fd2eda
x86/vPMU: avoid effectively open-coding xzalloc_flex_struct()

There is a difference in generated code: xzalloc_bytes() forces
SMP_CACHE_BYTES alignment. I think we not only don't need this here, but
actually don't want it.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/cpu/vpmu_intel.c