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
F163243122: D27828.id81344.diff
Tue, Jul 21, 8:50 AM
Unknown Object (File)
Mon, Jul 20, 9:35 AM
Unknown Object (File)
Mon, Jul 20, 2:12 AM
Unknown Object (File)
Sat, Jul 18, 11:15 AM
Unknown Object (File)
Sat, Jul 11, 4:04 PM
Unknown Object (File)
Sun, Jul 5, 2:09 AM
Unknown Object (File)
Wed, Jun 24, 7:42 AM
Unknown Object (File)
Jun 21 2026, 5:12 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35770
Build 32659: arc lint + arc unit

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.