Re: [PATCH 1/7] pid: Implement access helpers for a tacks various process groups.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave Hansen <[email protected]> writes:

> On Tue, 2006-08-15 at 12:23 -0600, Eric W. Biederman wrote:
>> +static inline struct pid *task_pid(struct task_struct *task)
>> +{
>> +       return task->pids[PIDTYPE_PID].pid;
>> +} 
>
> Does this mean we can start to deprecate the use of tsk->pid?

Good question.  I think there are enough users in the same process
case that it might not make sense to get rid of tsk->pid.  Some
of tsk->pids cousins though like tgid are definitely up for grabs.

I haven't gotten far enough to be able to say for certain.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux