All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: [PATCH v3] x86/oprofile: switch to xv[mz]alloc_array()
Date: Mon, 28 Jul 2025 14:05:48 +0200	[thread overview]
Message-ID: <aIdnnIIlUFPRPqu-@macbook.local> (raw)
In-Reply-To: <c9e21aa4-5267-4fa7-b304-1d8c1ff32472@suse.com>

On Mon, Jul 28, 2025 at 01:27:48PM +0200, Jan Beulich wrote:
> Use the more "modern" forms, 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.
> 
> While at it also use XVFREE() instead of open-coding it, or instead of
> leaving a dangling pointer, and change loop induction variable types.
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Acked-by: Roger Pau Monné <roger.pau@cloud.com>

Thanks, Roger.


      reply	other threads:[~2025-07-28 12:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-28 11:27 [PATCH v3] x86/oprofile: switch to xv[mz]alloc_array() Jan Beulich
2025-07-28 12:05 ` Roger Pau Monné [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aIdnnIIlUFPRPqu-@macbook.local \
    --to=roger.pau@citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.