Re: can I bring Linux down by running "renice -20cpu_intensive_process"?

From: Lee Revell
Date: Sat Mar 11 2006 - 22:44:09 EST


On Sun, 2006-03-12 at 01:41 +0000, Luke-Jr wrote:
> On Friday 10 March 2006 22:01, Måns Rullgård wrote:
> > Sysrq+n changes all realtime tasks to normal priority.
>
> Would the kernel's main loop (where I presume Sysreq is handled) get a chance
> to run with a constantly busy realtime task?

No, other tasks will not get to run at all. A SCHED_FIFO task that
spins forever is a fatal bug. Making it less dangerous would require
making it less useful.

Lee

-
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/