All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: bernard.metzler@linux.dev
Cc: rosenp@gmail.com, leon@kernel.org, kees@kernel.org,
	gustavoars@kernel.org, linux-rdma@vger.kernel.org
Subject: Re: [RFC PATCH] RDMA/siw: use kzalloc_flex
Date: Tue, 28 Apr 2026 12:55:36 -0300	[thread overview]
Message-ID: <20260428155536.GA2774550@nvidia.com> (raw)
In-Reply-To: <20260421192821.2305-1-bernard.metzler@linux.dev>

On Tue, Apr 21, 2026 at 09:28:21PM +0200, bernard.metzler@linux.dev wrote:
> From: Bernard Metzler <bernard.metzler@linux.dev>
> 
> Simplify umem allocation by using flexible array member.
> Add __counted_by to get extra runtime analysis.
> 
> Suggested-by: Rosen Penev <rosenp@gmail.com>
> Signed-off-by: Bernard Metzler <bernard.metzler@linux.dev>
> ---
>  drivers/infiniband/sw/siw/siw.h     |  4 ++--
>  drivers/infiniband/sw/siw/siw_mem.c | 19 ++++++-------------
>  drivers/infiniband/sw/siw/siw_mem.h |  2 +-
>  3 files changed, 9 insertions(+), 16 deletions(-)

Sashiko has quite a few interesting things to say about this:

https://sashiko.dev/#/patchset/20260421192821.2305-1-bernard.metzler%40linux.dev

Jason

  parent reply	other threads:[~2026-04-28 15:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-21 19:28 [RFC PATCH] RDMA/siw: use kzalloc_flex bernard.metzler
2026-04-21 21:32 ` Rosen Penev
2026-04-28 15:55 ` Jason Gunthorpe [this message]
2026-04-29 16:04   ` Bernard Metzler

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=20260428155536.GA2774550@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=bernard.metzler@linux.dev \
    --cc=gustavoars@kernel.org \
    --cc=kees@kernel.org \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=rosenp@gmail.com \
    /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.