Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261915AbVBOWPA (ORCPT ); Tue, 15 Feb 2005 17:15:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261916AbVBOWO7 (ORCPT ); Tue, 15 Feb 2005 17:14:59 -0500 Received: from clock-tower.bc.nu ([81.2.110.250]:16259 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S261915AbVBOWOt (ORCPT ); Tue, 15 Feb 2005 17:14:49 -0500 Subject: Re: Pty is losing bytes From: Alan Cox To: Linus Torvalds Cc: Andreas Schwab , Andrew Morton , Al Viro , Linux Kernel Mailing List In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1108505601.4915.23.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 15 Feb 2005 22:13:22 +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 880 Lines: 21 On Maw, 2005-02-15 at 19:44, Linus Torvalds wrote: > However, then when I start looking at n_tty_receive_room() and > n_tty_receive_buf(), my stomach gets a bit queasy. I have this horrid > feeling that I had something to do with the mess, but I'm going to lash You did. Then Ted tided it up Then Bill added hacks to "fix" up the locking The real fix is shooting the flip buffers, at that point a lot of the locking goes away (because the tty owns everything relevant). I just don't have time to do major kernel hacking and finish the MBA thesis at the same time. Sorry yes I know how n_tty works, and no I'm not going to fix it - 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/