On 24.07.2025 16:09, Roger Pau Monné wrote: > On Thu, Jul 24, 2025 at 10:18:37AM +0200, Jan Beulich wrote: >> Use the more "modern" form, thus doing away with effectively open-coding >> xmalloc_array() at the same time. While there is a difference in >> generated code, as xmalloc_bytes() forces SMP_CACHE_BYTES alignment, if >> code really cared about such higher than default alignment, it should >> request so explicitly. >> >> Also clear the pointers when freeing them. >> >> Signed-off-by: Jan Beulich <jbeul...@suse.com> > > Acked-by: Roger Pau Monné <roger....@citrix.com>
Thanks. >> --- >> v3: Use xv[mz]alloc_array(). > > I don't really get this v3 changelog, patch is v1 AFAICT? Maybe it > was split from a different series? Oops, yes, I omitted the v3 by mistake. There was a losely connected set of similar changes, submitted as v2 at [1]. I decided to rather submit the v3 patches individually. Jan [1] https://lists.xen.org/archives/html/xen-devel/2021-04/msg01232.html