Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Leon Romanovsky <leon@kernel.org>
Cc: Michael Margolin <mrgolin@amazon.com>,
	linux-rdma@vger.kernel.org, sleybo@amazon.com, matua@amazon.com,
	gal.pressman@linux.dev, Firas Jahjah <firasj@amazon.com>,
	Yonatan Nachum <ynachum@amazon.com>
Subject: Re: [PATCH for-next] RDMA/efa: Use __GFP_RETRY_MAYFAIL for ring allocations
Date: Wed, 23 Sep 2026 08:57:55 -0300	[thread overview]
Message-ID: <20260923115755.GE2545495@nvidia.com> (raw)
In-Reply-To: <20260923105127.GP563127@unreal>

On Wed, Sep 23, 2026 at 01:51:27PM +0300, Leon Romanovsky wrote:
> On Thu, Sep 17, 2026 at 10:51:01AM +0000, Michael Margolin wrote:
> > RQ and CQ ring buffers require physically contiguous memory. On
> > systems under memory pressure, high-order allocations can fail
> > even when sufficient free memory exists because the allocator
> > gives up after a single reclaim and compaction attempt for
> > costly-order requests that lack __GFP_RETRY_MAYFAIL.
> 
> What sizes did you see fail, and in which flow?

.. and many other drivers has spent alot of effort not having high
order allocations like this because they just don't work.

Jason

  reply	other threads:[~2026-09-23 11:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-17 10:51 [PATCH for-next] RDMA/efa: Use __GFP_RETRY_MAYFAIL for ring allocations Michael Margolin
2026-09-17 10:58 ` sashiko-bot
2026-09-23 10:51 ` Leon Romanovsky
2026-09-23 11:57   ` Jason Gunthorpe [this message]
2026-09-23 13:58     ` Michael Margolin
2026-09-28 18:27 ` Jason Gunthorpe

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=20260923115755.GE2545495@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=firasj@amazon.com \
    --cc=gal.pressman@linux.dev \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=matua@amazon.com \
    --cc=mrgolin@amazon.com \
    --cc=sleybo@amazon.com \
    --cc=ynachum@amazon.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox