On Tuesday, March 15th, 2022 at 08:13, Dave Airlie <airlied@xxxxxxxxx> wrote: > Just one thing comes to mind reading this, racy PID reuse. > > process 1234 does something bad to GPU. > process 1234 dies in parallel to sysfs notification being sent. > other process 1234 reuses the pid > new process 1234 gets destroyed by receiver of sysfs notification. This is a more general problem with PIDs. One solution is pidfd.