[PATCH v3 0/8] drm: Introduce sparse GEM shmem

Christian König christian.koenig at amd.com
Fri Apr 11 12:45:49 UTC 2025


Am 11.04.25 um 14:02 schrieb Boris Brezillon:
>>> I guess this leaves older GPUs that don't support incremental
>>> rendering in a bad place though.  
>> Well what's the handling there currently? Just crash when you're OOM?
> It's "alloc(GFP_KERNEL) and crash if it fails or times out", yes.

Oh, please absolutely don't! Using GFP_KERNEL here is as evil as it can be.

Background is that you don't get a crash, nor error message, nor anything indicating what is happening.

You just get a deadlocked system with the user wondering why the heck the system doesn't response any more.

Christian.


More information about the lima mailing list