Page MenuHomeFreeBSD

linuxkpi: improvements for linux_pid_task() and linux_get_pid_task().
ClosedPublic

Authored by kib on Jul 1 2020, 12:03 PM.

Details

Summary

Unify body.
Do not call tdfind() if pid is passed, and do not call pfind() if tid.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kib created this revision.Jul 1 2020, 12:03 PM
kib requested review of this revision.Jul 1 2020, 12:03 PM
hselasky accepted this revision.Jul 1 2020, 12:06 PM

Looks good.

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