"Chad N. Tindel" <[EMAIL PROTECTED]> wrote:
>
>  I would make the following assertion for any kernel:
> 
>  No single userspace thread of execution running on an SMP system should be 
>  able to hose a box by going CPU-bound, bug in the software or no bug.

But if we were to enforce that policy, realtime policy would become less
useful.  You havn't even acknowledged that such a tradeoff exists, let
alone demonstrated that we're on the wrong side of it.

Here's a quicky which will convert all your kernel threads to SCHED_RR,
priority 99.  Please test.

#!/bin/sh

PIDS=$(ps axo pid,command | grep ' \[.*\]$' | sed -e 's/ \[.*\]$//')

for i in $PIDS
do
        chrt -r 99 -9 $i
done

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

Reply via email to