Re: [PATCH] drm/i915/gem: Suppress oom warning in favour of ENOMEM to userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andi,

On 6/27/2024 12:04 PM, Andi Shyti wrote:
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.
Yes, when drivers handle ENOMEM situation which is the case for i915/gem code
  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@xxxxxxxxxxxxxxx>

Thanks!



Thanks,
Andi



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux