✓ CI.checkpatch: success for drm/xe: Avoid unnecessary OOM kills (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Thu Oct 31 16:29:30 UTC 2024
== Series Details ==
Series: drm/xe: Avoid unnecessary OOM kills (rev2)
URL : https://patchwork.freedesktop.org/series/140118/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit af9ff21359751b1fdb4b93d74b673a519faec230
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Thu Oct 31 16:37:32 2024 +0100
drm/xe: Don't unnecessarily invoke the OOM killer on multiple binds
Multiple single-ioctl binds can be split up into multiple bind
ioctls, reducing the memory required to hold the bind array.
So rather than allowing the OOM killer to be invoked, return
-ENOMEM or -ENOBUFS to user-space to take corrective action.
v2:
- Add __GFP_NOWARN to __GFP_RETRY_MAYFAIL allocations to avoid
spamming the kernel log if a recoverable allocation fails.
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2701
Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost at intel.com> #v1
+ /mt/dim checkpatch b8c3c871a2df70e3201eb70505981d39e449384d drm-intel
b91ff860bae7 drm/xe: Avoid the OOM killer on buffer object memory allocation
af9ff2135975 drm/xe: Don't unnecessarily invoke the OOM killer on multiple binds
More information about the Intel-xe
mailing list