Re: TIOCGWINSZ retuns old pty size after receiving SIGWINCH

From: Ico Doornekamp
Date: Wed Aug 20 2008 - 03:23:21 EST




* On 2008-08-19 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote :

> On Tue, 19 Aug 2008 22:13:11 +0200 Ico Doornekamp <lkml@xxxxxxx> wrote:
> >
> > >
> > > This bug may have been present in released kernels for some time - I
> > > think I read in another thread that CPU scheduler changes might have
> > > caused it to surface. Doesn't matter really - we don't want
> > > user-visible races like this affecting desktop applications in stable
> > > kernels!
> > >
> > > Can you please help us to complete this list?
> >
> > 2.6.25.9: good
> > 2.6.26-rc1 bad ( +/- 10% of the resizes)
> > 2.6.26.2: still bad ( +/- 10% of the resizes )
> > 2.6.27-rc3: ugly bad ( > 75% of the resizes )
> > linux-next good
> >
> > Any other versions to test ?
>
> Current Linus mainline has
>
> commit 8c9a9dd0fa3a269d380eaae2dc1bee39e865fae1
> Author: Alan Cox <alan@xxxxxxxxxx>
> Date: Fri Aug 15 10:39:38 2008 +0100
>
> tty: remove resize window special case
>
> which might have fixed this after 2.6.27-rc3, so testing
> ftp://ftp.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.27-rc3-git6.gz
> would be most interesting.

Still very broken.

--
:wq
^X^Cy^K^X^C^C^C^C
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/