Re: [RFC][PATCH 1/3] Move parts of init_dev() into new functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 26 Aug 2008 09:40:20 -0700
"H. Peter Anvin" <hpa@xxxxxxxxx> wrote:

> Alan Cox wrote:
> > 
> > In the case of the initial open you don't yet know the tty pointer and
> > may be creating it. SO the tty isn't a reference because it doesn't exist.
> > 
> 
> Got it.  I was under the (apparently mistaken) notion that only pty tty 
> structures were created dynamically.

tty is dynamically created and attached to the file handle. The port side
structure is currently port specific and does last. Thats what the
tty_port stuff is intended to slowly standardise but won't help ptys as
they don't have a physical port anyway.

Alan
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux