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)
Mon, Apr 14, 10:40 PM
Unknown Object (File)
Mar 8 2025, 8:55 AM
Unknown Object (File)
Feb 23 2025, 10:03 AM
Unknown Object (File)
Jan 27 2025, 1:07 AM
Unknown Object (File)
Jan 26 2025, 1:05 AM
Unknown Object (File)
Jan 15 2025, 11:46 AM
Unknown Object (File)
Jan 15 2025, 11:41 AM
Unknown Object (File)
Jan 15 2025, 8:56 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 Not Applicable
Unit
Tests Not Applicable