[PATCH] drm/i915/gem: Suppress oom warning in favour of ENOMEM to userspace
Andi Shyti
andi.shyti at linux.intel.com
Thu Jun 27 10:04:00 UTC 2024
Hi Nirmoy,
On Wed, Jun 26, 2024 at 04:33:18PM +0200, Nirmoy Das wrote:
> We report object allocation failures to userspace with ENOMEM
> so add __GFP_NOWARN to remove superfluous oom warnings.
I think this should be the default behavior. ENOMEM doesn't
necessarily mean that there is a kernel failure. Most of the time
we just run out of memory, deal with it :-)
Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>
Thanks,
Andi
More information about the dri-devel
mailing list