Re: [PATCH v4 1/2] drm/panthor: Replace sleep locks with spinlocks in fdinfo path

2025-03-05 Thread Steven Price
On 03/03/2025 19:08, Adrián Larumbe wrote: > Commit 0590c94c3596 ("drm/panthor: Fix race condition when gathering fdinfo > group samples") introduced an xarray lock to deal with potential > use-after-free errors when accessing groups fdinfo figures. However, this > toggles the kernel's atomic conte

[PATCH v4 1/2] drm/panthor: Replace sleep locks with spinlocks in fdinfo path

2025-03-03 Thread Adrián Larumbe
Commit 0590c94c3596 ("drm/panthor: Fix race condition when gathering fdinfo group samples") introduced an xarray lock to deal with potential use-after-free errors when accessing groups fdinfo figures. However, this toggles the kernel's atomic context status, so the next nested mutex lock will raise