Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932585Ab3DCHng (ORCPT ); Wed, 3 Apr 2013 03:43:36 -0400 Received: from vaxjo.synopsys.com ([198.182.60.75]:46403 "EHLO vaxjo.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760049Ab3DCHne (ORCPT ); Wed, 3 Apr 2013 03:43:34 -0400 Message-ID: <515BDD64.3010405@synopsys.com> Date: Wed, 3 Apr 2013 13:12:28 +0530 From: Vineet Gupta User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: Ilya Zykov CC: lkml , , "Ingo Molnar" , Peter Zijlstra , Jiri Slaby , Peter Hurley Subject: Re: n_tty_write() going into schedule but NOT coming out References: <5156DC21.20901@synopsys.com> <515BC1AF.1070103@izyk.ru> In-Reply-To: <515BC1AF.1070103@izyk.ru> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.12.197.41] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1010 Lines: 31 Hi Ilya On 04/03/2013 11:14 AM, Ilya Zykov wrote: > Please, try this patch maybe it can help localize your problem. > > drivers/tty/n_tty.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c > index 05e72be..28f15d0 100644 > --- a/drivers/tty/n_tty.c > +++ b/drivers/tty/n_tty.c > @@ -230,6 +230,7 @@ static void reset_buffer_flags(struct tty_struct *tty) > ldata->canon_head = ldata->canon_data = ldata->erasing = 0; > bitmap_zero(ldata->read_flags, N_TTY_BUF_SIZE); > n_tty_set_room(tty); > + check_unthrottle(tty); > } > > /** Thanks for the patch - but it didn't help at all - I see the same lockup. I'm no tty expert so don't understand how this patch would help - care to elaborate ? Thx, -Vineet -- 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/