From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [Bug #14388] keyboard under X with 2.6.31 Date: Tue, 13 Oct 2009 14:02:03 -0700 (PDT) Message-ID: References: <56acieJJ2fF.A.nEB.Hzl0KB@chimera> <87ljjgfcbu.fsf@spindle.srvr.nix> <4AD3F769.5080405@gmail.com> <4AD437F9.9020708@yahoo.co.uk> <4AD4DE4C.4010402@yahoo.co.uk> Mime-Version: 1.0 Return-path: In-Reply-To: Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: TEXT/PLAIN; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Boyan Cc: =?ISO-8859-15?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= , "Justin P. Mattock" , Nix , Alan Cox , Paul Fulghum , "Rafael J. Wysocki" , Linux Kernel Mailing List , Kernel Testers List , Dmitry Torokhov , Ed Tomlinson , OGAWA Hirofumi On Tue, 13 Oct 2009, Linus Torvalds wrote: > > Anyway, I'm not entirely happy with this patch, and I haven't actually > TESTED it so it might well be totally broken [..] It is. Looking over the patch a bit more, at a minimum that if (test_and_set_bit(TTY_FLUSHING, &tty->flags)) { line should be if (!test_and_set_bit(TTY_FLUSHING, &tty->flags)) { (ie add the '!') since we want to do things if the bit wasn't set before (and if it was already set it all turns into a no-op). But apart from that obvious typo, the patch still looks good even after looking it through a bit more. It's still TOTALLY UNTESTED, though! Linus