Re: [RFC] oom-kill: give the dying task a higher priority

From: Peter Zijlstra
Date: Fri May 28 2010 - 11:54:01 EST


On Fri, 2010-05-28 at 00:51 -0300, Luis Claudio R. Goncalves wrote:
> + param.sched_priority = MAX_RT_PRIO-1;
> + sched_setscheduler_nocheck(p, SCHED_FIFO, &param);


Argh, so you got me confused as well.

the sched_param ones are userspace values, so you should be using 1.


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