Re: [PATCH] Use task_pid_nr() instead of pid_nr(task_pid())

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <linux-kernel@...>, <devel@...>, <hpa@...>, <menage@...>
Date: Monday, October 8, 2007 - 4:57 am

Andrew Morton wrote:

Hardly. 

There are places that store the struct pid and try to obtain its number
later. E.g. tiocgpgrp() wants to tell user the pgrp nr of the tty's 
active group; fgetown() tells user the number of file's owner pid or (!)
pgrp; file locks need to store the pid and report it later (this is not 
implemented yet, I'm still working on it) and so on and so forth.

Thanks,
Pavel
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Use task_pid_nr() instead of pid_nr(task_pid()), Pavel Emelyanov, (Wed Oct 3, 10:26 am)
Re: [PATCH] Use task_pid_nr() instead of pid_nr(task_pid()), Pavel Emelyanov, (Mon Oct 8, 4:57 am)