Page MenuHomeFreeBSD

LinuxKPI: support thread IDs in linux_task_exiting
ClosedPublic

Authored by greg_unrelenting.technology on Mon, Jun 29, 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.

Event Timeline

greg_unrelenting.technology requested review of this revision.Mon, Jun 29, 9:19 PM
emaste added a subscriber: manu.Mon, Jun 29, 9:30 PM
hselasky accepted this revision.Tue, Jun 30, 7:24 AM

Change looks good! Do you need help submitting?

This revision is now accepted and ready to land.Tue, Jun 30, 7:24 AM

Change looks good! Do you need help submitting?

yeah please commit