On 07/16, [EMAIL PROTECTED] wrote:
>
> Oleg Nesterov [EMAIL PROTECTED] wrote:
> |
> | Stupid question: why do we need to put the pid namespace into the struct
> | pid? Isn't it better if the user of the struct pid should know its ns?
> | For example, if /proc does put_pid(), that pid should be fro
it ?
|
| Sukadev, could you cc me if you do that kind of changes?
Sure - I will.
---
Subject: [PATCH 3/5] Use task_pid() to find leader's pid
From: Sukadev Bhattiprolu <[EMAIL PROTECTED]>
Use task_pid() to get leader's 'struct pid' and avoid the find_pid().
Signe
Sukadev Bhattiprolu wrote:
>
> Use task_pid() to get leader's pid since find_pid() cannot be used
> after detach_pid(). See comments in the code below for more details.
>
> ...
>
> + * Note: With multiple pid namespaces, active pid namespace of
> + * a process is sto
Subject: [PATCH 3/5] Use task_pid() to find leader's pid
From: Sukadev Bhattiprolu <[EMAIL PROTECTED]>
Use task_pid() to get leader's pid since find_pid() cannot be used
after detach_pid(). See comments in the code below for more details.
Signed-off-by: Sukadev Bhattiprolu &
4 matches
Mail list logo