Page MenuHomeFreeBSD

LinuxKPI: support thread IDs in linux_task_exiting
ClosedPublic

Authored by val_packett.cool on Jun 29 2020, 9:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 18, 3:15 AM
Unknown Object (File)
Tue, Dec 9, 12:38 PM
Unknown Object (File)
Mon, Nov 24, 2:39 AM
Unknown Object (File)
Sun, Nov 23, 7:03 PM
Unknown Object (File)
Sun, Nov 23, 2:38 PM
Unknown Object (File)
Sun, Nov 23, 11:53 AM
Unknown Object (File)
Sun, Nov 23, 11:07 AM
Unknown Object (File)
Sun, Nov 23, 5:37 AM
Subscribers

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 - subversion
Lint
Lint Skipped
Unit
Tests Skipped