Re: [Bug 10741] bug in `tty: BKL pushdown'?
From: Alan Cox
Date: Mon Jun 16 2008 - 08:03:58 EST
On Mon, 16 Jun 2008 11:33:13 +0100
Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> > The bug still exists, however, a bisect on another machine with the same
> > userland leads to different commit
> > (47f86834bbd4193139d61d659bebf9ab9d691e37 "redo locking of tty->pgrp"),
> > so it is not all that clear and stable.
>
> Now that would actually make a lot more sense as a root cause.
Experiment time. In _proc_set_tty() in tty_io.c move the
tty->session = get_pid(task_session(tsk));
back inside the lock just before
tty->pgrp = get_pid(task_pgrp(tsk));
Alan
--
"Standards committees don't like hashing. It looks complicated and
insufficiently deterministic on an overhead projector."
- Vern Schryver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/