Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761867AbZJNPJY (ORCPT ); Wed, 14 Oct 2009 11:09:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761837AbZJNPJX (ORCPT ); Wed, 14 Oct 2009 11:09:23 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:41014 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757429AbZJNPJW (ORCPT ); Wed, 14 Oct 2009 11:09:22 -0400 Date: Wed, 14 Oct 2009 08:07:36 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Alan Cox cc: Paul Fulghum , Boyan , "Rafael J. Wysocki" , Linux Kernel Mailing List , Kernel Testers List , Dmitry Torokhov , Ed Tomlinson , "OGAWA Hirofumi \"" Subject: Re: [Bug #14388] keyboard under X with 2.6.31 In-Reply-To: <20091014125846.1a3c8d40@lxorguk.ukuu.org.uk> 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> <4AD4F548.2030506@microgate.com> <1255478932.19056.24.camel@localhost.localdomain> <4AD51D6B.7010509@microgate.com> <20091014125846.1a3c8d40@lxorguk.ukuu.org.uk> User-Agent: Alpine 2.01 (LFD 1184 2008-12-16) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 804 Lines: 26 On Wed, 14 Oct 2009, Alan Cox wrote: > > Stop a moment. The code wasn't designed to permit two paralle calls of > flush_to_ldisc to the same tty. That was always forbidden when that code > was designed. No, the code was clearly _designed_ for it - that's the whole and only point of the tty->buf.head = NULL; line. But it's certainly true that it just never happened before. At least for the !low_latency case, I'm not so sure about the low_latency=1 case, but I haven't checked either - it would depend on any higher-level serialization. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/