Re: [PATCH] N_TTY may block out TQUEUE_BH for too long

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 16 Nov 1998 14:55:18 +0000 (GMT)


> When reading from an N_TTY line the timer task queue can be blocked out
> for a long time. The problem is that read_chan calls put_user and
> copy_to_user while TQUEUE_BH is disabled, and those calls can sleep.

Actually that can even crash the machine. Consider a page in from a device
that depends on TIMER_BH events for retries..

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/