Re: [PATCH] multithreaded coredumps for elf exeecutables

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 21 Mar 2002 16:52:52 +0000 (GMT)


> We really need a non-signal-based way to tell the scheduler that a task
> can not be scheduled. A lot of the machinery is all there, but private to
> sched.c; the rest is pretty straightforward.

You need interrupts to handle this, even if you don't wrap it in the top
layer of signals it will be able to use much of the code I agree. The nasty
case is the "currently running on another cpu" one. Especially since you
can't just "trap it" - if you IPI that processor it might have moved by the
time the IPI arrives 8)

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