diff options
| author | Michael Margolin <mrgolin@amazon.com> | 2026-09-17 10:51:01 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2026-09-29 16:28:17 -0300 |
| commit | 7e4d9504904f6e1ab9ea5bc2dfd1366c08483162 (patch) | |
| tree | 0f2c524d1109f3414503c55e8ba367e89129d57a /tools/lib/python/kdoc | |
| parent | 1c5335a6902639596a795705349da7f76027e103 (diff) | |
RDMA/efa: Use __GFP_RETRY_MAYFAIL for ring allocations
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.
Add __GFP_RETRY_MAYFAIL to the GFP flags in efa_zalloc_mapped()
to allow retries with escalating compaction priority and release
of highatomic reserves before giving up.
Link: https://patch.msgid.link/r/20260917105101.9365-1-mrgolin@amazon.com
Reviewed-by: Firas Jahjah <firasj@amazon.com>
Reviewed-by: Yonatan Nachum <ynachum@amazon.com>
Signed-off-by: Michael Margolin <mrgolin@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
