Asahi Lina (朝日リナ) on Nostr: drm_scheduler strikes again... https://github.com/AsahiLinux/linux/issues/309 So far, ...
drm_scheduler strikes again...
https://github.com/AsahiLinux/linux/issues/309
So far, every kernel oops in production systems of the Asahi GPU driver has been due to a bug in drm_scheduler... 😭
The design/code gives me really bad lifetime vibes every time... I should just give up on trying to use this shared DRM code and rewrite it in Rust... I don't think I can fix it, it's written in C and so poorly designed that there's no way anybody can wrap their head around all the gotchas and race conditions and lifetime issues and make it correct...
https://github.com/AsahiLinux/linux/issues/309
So far, every kernel oops in production systems of the Asahi GPU driver has been due to a bug in drm_scheduler... 😭
The design/code gives me really bad lifetime vibes every time... I should just give up on trying to use this shared DRM code and rewrite it in Rust... I don't think I can fix it, it's written in C and so poorly designed that there's no way anybody can wrap their head around all the gotchas and race conditions and lifetime issues and make it correct...