android_kernel_xiaomi_sm8350/drivers/char/ip2
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
..
fip_firm.h
i2cmd.c [PATCH] ip2main.c warning fixes 2006-02-03 08:32:10 -08:00
i2cmd.h [PATCH] char: ip2 remove broken macro 2006-12-07 08:39:43 -08:00
i2ellis.c
i2ellis.h [PATCH] ip2 warning fix 2007-01-05 23:55:23 -08:00
i2hw.h
i2lib.c [PATCH] Char: timers cleanup 2007-02-12 09:48:30 -08:00
i2lib.h [PATCH] i2Output always takes kernel data now 2006-10-11 11:17:07 -07:00
i2os.h
i2pack.h
ip2.h
ip2base.c
ip2ioctl.h
ip2main.c [PATCH] tty: update the tty layer to work with struct pid 2007-02-12 09:48:32 -08:00
ip2trace.h
ip2types.h
Makefile