lkml.org 
[lkml]   [2000]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.0-test13-pre1 lockup: run_task_queue or tty_io are wrong


On Mon, 18 Dec 2000, Jamie Lokier wrote:
> >
> > Nope.
> >
> > There may be multiple concurrent run_task_queue's executing, so for now
> > I've applied Andrew Morton's patch that most closely gets the old
> > behaviour of having a private list.
>
> I wasn't clear. The sentinel is a local structure on the stack, and
> only exists while run_task_queue is executing. Another name for this is
> "deletion-safe pointer".

Yes, except run_task_queue removes every object it finds. So two
concurrent run_task_queues would be bad.

Sure, we could just make it skip sentinels by adding a magic flag to them,
but that is pretty ugly.

Linus

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

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.083 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site