Skip to content

drm/xe: Avoid unnecessary OOM kills

Thomas Hellström intel-xe 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Add __GFP_NOWARN to __GFP_RETRY_MAYFAIL allocations

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe: Avoid the OOM killer on buffer object memory allocationdrivers/gpu/drm/xe/xe_bo.c+8 -10 replies
2/2drm/xe: Don't unnecessarily invoke the OOM killer on multiple bindsdrivers/gpu/drm/xe/xe_vm.c+7 -40 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMatthew Brost
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/xe: Avoid unnecessary OOM kills

On kernel memory allocations where invoking the OOM killer is to be avoided, but trying pretty hard to fulfill the allocation is still desirable, one can use __GFP_RETRY_MAYFAIL.

Use that for buffer memory allocation-and validation and for multiple bind memory allocation.

v2:
- Add __GFP_NOWARN to __GFP_RETRY_MAYFAIL allocations

Thomas Hellström (2):
drm/xe: Avoid the OOM killer on buffer object memory allocation drm/xe: Don't unnecessarily invoke the OOM killer on multiple binds

 drivers/gpu/drm/xe/xe_bo.c |  9 ++++++++-
 drivers/gpu/drm/xe/xe_vm.c | 11 +++++++----
 2 files changed, 15 insertions(+), 5 deletions(-)
Signature · 1 line
2.46.2