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
F86718468: D25509.diff
Mon, Jun 24, 12:35 PM
Unknown Object (File)
Thu, Jun 6, 1:37 PM
Unknown Object (File)
May 21 2024, 2:32 PM
Unknown Object (File)
May 19 2024, 1:12 PM
Unknown Object (File)
May 19 2024, 9:26 AM
Unknown Object (File)
May 7 2024, 3:05 PM
Unknown Object (File)
Feb 10 2024, 10:09 PM
Unknown Object (File)
Dec 23 2023, 12:19 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