17cf22c33e
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> |
||
---|---|---|
.. | ||
spufs | ||
axon_msi.c | ||
beat.c | ||
beat.h | ||
beat_htab.c | ||
beat_hvCall.S | ||
beat_interrupt.c | ||
beat_interrupt.h | ||
beat_iommu.c | ||
beat_spu_priv1.c | ||
beat_syscall.h | ||
beat_udbg.c | ||
beat_wrapper.h | ||
cbe_cpufreq.c | ||
cbe_cpufreq.h | ||
cbe_cpufreq_pervasive.c | ||
cbe_cpufreq_pmi.c | ||
cbe_powerbutton.c | ||
cbe_regs.c | ||
cbe_thermal.c | ||
celleb_pci.c | ||
celleb_pci.h | ||
celleb_scc.h | ||
celleb_scc_epci.c | ||
celleb_scc_pciex.c | ||
celleb_scc_sio.c | ||
celleb_scc_uhc.c | ||
celleb_setup.c | ||
cpufreq_spudemand.c | ||
interrupt.c | ||
interrupt.h | ||
iommu.c | ||
Kconfig | ||
Makefile | ||
pervasive.c | ||
pervasive.h | ||
pmu.c | ||
qpace_setup.c | ||
ras.c | ||
ras.h | ||
setup.c | ||
smp.c | ||
spider-pci.c | ||
spider-pic.c | ||
spu_base.c | ||
spu_callbacks.c | ||
spu_fault.c | ||
spu_manage.c | ||
spu_notify.c | ||
spu_priv1_mmio.c | ||
spu_priv1_mmio.h | ||
spu_syscalls.c |