Re: [PATCH] kthread: run kthreadd with max priority SCHED_FIFO

From: Jon Masters
Date: Sat Dec 22 2007 - 05:18:46 EST


On Sat, 2007-12-22 at 02:11 -0800, Andrew Morton wrote:

> Should there be a watchdog which checks for a process which has run
> realtime for a certain period and which then takes some action? Such as
> descheduling it for a while, generating warnings, demoting its policy,
> killing it etc?

Using the analogy of the OOM killer being called, this wouldn't be a bad
idea IMO - especially if it were configurable, and off by default. This
couldn't be done in a kernel thread (unless some new priority level were
created for it), but I think the details can be worked out later.

Michal - what do you think is the best upstream solution?

Jon.


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