Eric W. Biederman
17cf22c33e
pidns: Use task_active_pid_ns where appropriate
...
The expressions tsk->nsproxy->pid_ns and task_active_pid_ns
aka ns_of_pid(task_pid(tsk)) should have the same number of
cache line misses with the practical difference that
ns_of_pid(task_pid(tsk)) is released later in a processes life.
Furthermore by using task_active_pid_ns it becomes trivial
to write an unshare implementation for the the pid namespace.
So I have used task_active_pid_ns everywhere I can.
In fork since the pid has not yet been attached to the
process I use ns_of_pid, to achieve the same effect.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com >
2012-11-19 05:59:09 -08:00
..
2012-11-19 05:59:09 -08:00
2012-09-04 13:12:13 -07:00
2012-09-26 09:31:52 -07:00
2012-10-02 09:54:49 -07:00
2012-09-21 08:56:41 -07:00
2012-10-22 11:46:35 -07:00
2012-09-04 14:23:33 -07:00
2012-09-04 14:22:48 -07:00
2012-09-21 08:56:41 -07:00
2012-09-04 14:27:42 -07:00
2012-10-17 14:10:10 -07:00
2012-07-06 16:08:57 -07:00
2012-10-01 12:11:39 -07:00
2012-07-19 16:11:26 -07:00
2012-09-17 05:31:32 -07:00
2012-10-02 13:38:27 -07:00
2012-10-19 16:23:34 +01:00
2012-09-21 09:17:07 -07:00
2012-10-24 15:12:01 -07:00
2012-10-01 13:23:01 -07:00
2012-08-14 16:46:34 -07:00
2012-09-26 11:02:25 -03:00
2012-10-02 09:54:49 -07:00
2012-07-23 13:54:53 +01:00
2012-08-17 09:45:37 -07:00
2012-10-09 01:35:52 -04:00
2012-10-22 15:41:09 -07:00
2012-09-19 09:28:14 +01:00
2012-09-21 08:56:40 -07:00
2012-07-11 17:26:02 -07:00
2012-10-22 15:42:38 -07:00
2012-09-04 14:10:08 -07:00
2012-10-01 12:11:39 -07:00
2012-09-21 08:56:40 -07:00
2012-09-26 13:05:50 -07:00
2012-09-26 09:19:50 -07:00
2012-09-21 08:56:41 -07:00
2012-09-25 15:48:25 -07:00
2012-09-04 14:27:41 -07:00
2012-10-01 13:23:01 -07:00
2012-09-21 08:56:40 -07:00
2012-09-05 11:59:51 -07:00
2012-09-17 14:57:53 -07:00
2012-10-01 12:26:52 -07:00
2012-09-14 09:21:56 -05:00
2012-09-21 08:56:41 -07:00
2012-10-24 16:31:32 -07:00
2012-10-01 13:23:01 -07:00
2012-09-04 13:22:48 -07:00
2012-09-07 22:07:37 -07:00
2012-09-16 17:17:25 -07:00
2012-10-02 13:38:27 -07:00
2012-09-10 20:24:01 -07:00
2012-09-17 14:50:33 -07:00
2012-09-26 09:19:50 -07:00
2012-09-13 20:41:57 -07:00
2012-09-16 17:17:25 -07:00
2012-10-22 13:45:19 -07:00
2012-08-13 19:34:24 -07:00
2012-10-01 12:26:52 -07:00
2012-10-01 12:26:52 -07:00