freebsd-skq/sys/compat/linuxkpi/common
Hans Petter Selasky a0699ebf77 Implement get_pid_task(), pid_task() and some other PID helper
functions in the LinuxKPI. Add a usage atomic to the task_struct
structure to facilitate refcounting the task structure when returned
from get_pid_task(). The get_task_struct() and put_task_struct()
function is used to manage atomic refcounting. After this change the
task_struct should only be freed through put_task_struct().

Obtained from:		kmacy @
MFC after:		1 week
Sponsored by:		Mellanox Technologies
2017-03-17 15:40:24 +00:00
..
include Implement get_pid_task(), pid_task() and some other PID helper 2017-03-17 15:40:24 +00:00
src Implement get_pid_task(), pid_task() and some other PID helper 2017-03-17 15:40:24 +00:00