freebsd-dev/sys/compat/linuxkpi/common
Konstantin Belousov f334f212d9 linuxkpi: improvements for linux_pid_task() and linux_get_pid_task().
Unify functions bodies.
Do not call tdfind() if pid is passed, and do not call pfind() if tid
is supplied.

Reviewed by:	hselasky
Sponsored by:	Mellanox Technologies
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D25534
2020-07-02 10:42:58 +00:00
..
include Document the is_signed(), type_max() and type_min() function macros in the 2020-06-30 08:41:33 +00:00
src linuxkpi: improvements for linux_pid_task() and linux_get_pid_task(). 2020-07-02 10:42:58 +00:00