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)
Sun, Oct 12, 12:32 PM
Unknown Object (File)
Mon, Sep 15, 7:25 AM
Unknown Object (File)
Sep 7 2025, 8:00 AM
Unknown Object (File)
Sep 5 2025, 1:49 AM
Unknown Object (File)
Aug 1 2025, 9:09 PM
Unknown Object (File)
Jul 21 2025, 8:03 AM
Unknown Object (File)
Jul 13 2025, 6:01 AM
Unknown Object (File)
Jul 6 2025, 12:27 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