Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch
Eric W. Biederman ab521dc0f8 [PATCH] tty: update the tty layer to work with struct pid
Of kernel subsystems that work with pids the tty layer is probably the largest
consumer.  But it has the nice virtue that the assiation with a session only
lasts until the session leader exits.  Which means that no reference counting
is required.  So using struct pid winds up being a simple optimization to
avoid hash table lookups.

In the long term the use of pid_nr also ensures that when we have multiple pid
spaces mixed everything will work correctly.

Signed-off-by: Eric W. Biederman <eric@maxwell.lnxi.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-12 09:48:32 -08:00
..
alpha [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
arm [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
arm26 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
avr32 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
cris [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
frv [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
h8300 [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
i386 [PATCH] highmem: catch illegal nesting 2007-02-11 11:18:07 -08:00
ia64 [PATCH] Consolidate bust_spinlocks() 2007-02-11 10:51:34 -08:00
m32r [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
m68k [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
m68knommu [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
mips Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2007-02-11 11:40:04 -08:00
parisc [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
powerpc [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
ppc [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
s390 [PATCH] Switch s390 to NO_IOMEM 2007-02-11 11:18:07 -08:00
sh [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
sh64 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
sparc [PATCH] signal: use kill_pgrp not kill_pg in the sunos compatibility code 2007-02-12 09:48:31 -08:00
sparc64 [PATCH] signal: use kill_pgrp not kill_pg in the sunos compatibility code 2007-02-12 09:48:31 -08:00
um [PATCH] tty: update the tty layer to work with struct pid 2007-02-12 09:48:32 -08:00
v850 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
x86_64 [PATCH] Consolidate bust_spinlocks() 2007-02-11 10:51:34 -08:00
xtensa [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00