[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080512104843.5b6fb486@core>
Date: Mon, 12 May 2008 10:48:43 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Bryan Wu <cooloney@...nel.org>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
Cliff Cai <cliff.cai@...log.com>,
Bryan Wu <cooloney@...nel.org>
Subject: Re: [PATCH 2/3] Blackfin Sports UART Driver: fix bug - the bug
caused by sport overrun, use timer to flip the tty buffer in order to
return from rx ISR quickly
Can you explain what the timer is for ? If you are trying to push the tty
processing out of the interrupt handler then surely schedule_work would
be sufficient. Also if you don't have tty->low_latency set the tty layer
will already do the actual processing work each timer event not in the
IRQ.
--
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