Help in pid_task()

sebas sujeen sujeen.vegeta at
Sat Jan 19 06:57:37 EST 2013

hey guys, i am having a small doubt in "pid_task" function in
kernel/pid.c.. Assume if the type is PIDTYPE_PGID, then it means that there
are multiple processes associated with the process group and each has its
own how come the function returns the task_struct of the
"head" element of the hlist_node? Sorry if my assumptions are wrong! Thanks
in advance
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list