The amdkfd driver requires the tgid to be apart of the task_struct.
This patch introduces the tgid member to task_struct.
Sponsored By: The FreeBSD Foundation
Differential D58228
LinuxKPI: Add tgid to task_struct under sched.h Authored by siri_racha.ca on Jul 14 2026, 5:27 PM. Tags Referenced Files
Details
The amdkfd driver requires the tgid to be apart of the task_struct. Sponsored By: The FreeBSD Foundation Ran a test build, and builds with no issues.
Diff Detail
Event TimelineComment Actions What's the KBI impact of this? Does it need a __FreeBSD_version bump then? Would it make sense to add it to the end? Comment Actions It does break KBI... I did not consider that. I've made a revision to gaurd via __FreeBSD_version, though it bumps from 19->21 since someone bumped to 20 last night. Comment Actions @bz If you have some time, can you let me know if there are any additional changes I should make?
| ||||||||||||||||||||||||||||||||||||||||||||||||||