1 Aug 2012 02:47
Re: [PATCH 12/12] tty: move the handling of the tty release logic
Yinghai Lu <yinghai <at> kernel.org>
2012-08-01 00:47:45 GMT
2012-08-01 00:47:45 GMT
On Fri, Jun 22, 2012 at 8:47 AM, Alan Cox <alan <at> lxorguk.ukuu.org.uk> wrote: > Now that we don't have tty->termios tied to drivers->tty we can untangle > the logic here. In addition we can push the removal logic out of the > destructor path. > > At that point we can think about sorting out tty_port and console and all > the other ugly hangovers. > > An important other property we now have is that the tty mutex does now cover > the drivers array. An assumption other bits of the code made and which is > necessary for the tty lock patch. > > Signed-off-by: Alan Cox <alan <at> linux.intel.com> > --- > > drivers/tty/pty.c | 8 -------- > drivers/tty/tty_io.c | 16 +++++----------- > drivers/tty/vt/vt.c | 1 - > drivers/usb/serial/usb-serial.c | 3 +-- > include/linux/tty.h | 1 - > include/linux/tty_driver.h | 11 +++-------- > 6 files changed, 9 insertions(+), 31 deletions(-) Hi, Alan This one cause regression on my test setup. that setup is booting from pxe and initrd is updated from opensuse 11.3 rescue disk.(Continue reading)

RSS Feed