Re: [patch] sched, tty: fix scheduling latencies in tty_io.c

Ingo Molnar
2004-09-14T12:02:33Z

* Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> On Maw, 2004-09-14 at 12:06, Ingo Molnar wrote:
> > the attached patch fixes long scheduling latencies in tty_read() and
> > tty_write() caused by the BKL.
>
> Have you verified that none of the ldisc methods rely on the big
> kernel lock. In doing the tty audit I found several cases that tty
> drivers still rely on this lock so I am curious why you make this
> change.
>
> Would it not be better to fix the tty layer locking rather than
> introduces new random memory corruptors ?

sure ... any volunteers?

Ingo