[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200802050228.m152SWFx099347@www262.sakura.ne.jp>
Date: Tue, 05 Feb 2008 11:28:32 +0900
From: Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>
To: linux-kernel@...r.kernel.org
Subject: What id does \"current->pid\" indicate?
Hello.
I found that there are "current->pid", "task_pid_vnr(current)"
and "task_pid_nr(current)" cases in kernel 2.6.24 .
According to include/linux/pid.h ,
"task_pid_nr()" is global id and "task_xid_vnr()" is virtual id.
But what id does "current->pid" indicate?
Is "current->pid" equivalent to "task_pid_nr(current)" ?
Regards.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists