Page MenuHomeFreeBSD

Use kdb_thr_from_pid() in db_lookup_thread().
ClosedPublic

Authored by jhb on Dec 29 2020, 11:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 17, 2:07 AM
Unknown Object (File)
Fri, Jun 12, 4:07 AM
Unknown Object (File)
Thu, Jun 11, 7:54 PM
Unknown Object (File)
Tue, May 26, 3:19 AM
Unknown Object (File)
Tue, May 26, 3:11 AM
Unknown Object (File)
May 17 2026, 2:11 PM
Unknown Object (File)
May 17 2026, 2:06 PM
Unknown Object (File)
May 7 2026, 5:28 PM
Subscribers

Details

Summary

The code is identical, so this should be a no-op.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Dec 29 2020, 11:52 PM

Would it be improvement to check addr with IN_KERNEL() before assuming that it is the thread address ?

This revision is now accepted and ready to land.Dec 30 2020, 1:06 PM

Yes, doing INKERNEL() checks for both of these helpers likely makes sense, though I think as a separate commit.

This revision was automatically updated to reflect the committed changes.