Page MenuHomeFreeBSD

LinuxKPI: support thread IDs in linux_task_exiting
ClosedPublic

Authored by greg_unrelenting.technology on Jun 29 2020, 9:19 PM.

Details

Summary

This fixes the display-server-hangs-forever-when-quitting problem in amdgpu: https://github.com/FreeBSDDesktop/kms-drm/issues/245

Basically this code was waiting for the process to get the exiting flag, but the function would get thread IDs, not proc IDs, so the condition would never arrive.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.