[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 10 Oct 2008 10:29:06 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Adam Tlałka <atlka@...gda.pl>
Cc: Adam Tlałka <atlka@...gda.pl>,
linux-kernel@...r.kernel.org, torvalds@...l.org
Subject: Re: [PATCH 0/1] SIGWINCH problem with terminal apps still alive
On Fri, 10 Oct 2008 03:12:34 +0200
Adam Tlałka <atlka@...gda.pl> wrote:
> Welcome,
>
> now we have 2.6.26.6 kernel and still terminal resize leads to
> undesired effects. It is very inconvenient to wait for 2.6.27 for
> corrections.
>
> As Alan Cox previously said mutexes generally work but as we can
> observe in case of kill_pgrp() call inside mutex lock we got
> race because of rescheduling so lock is not working here.
> Rearanging code so the variable change is placed before kill_pgrp()
> call removes mentioned race situaction.
>
> Signed-off-by: Adam Tla/lka <atlka@...gda.pl>
>
> I strongly suggest to patch actual 2.6.26.x kernel to remove this very
> nasty pts behaviour.
NAK again
Moving the copies around simply moves the race, it might be that it fixes
your box and unfixes other peoples.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists