Re: [RFC][PATCH] Multimedia scheduling class, take 2

From: Jussi Laako
Date: Wed May 13 2009 - 02:36:37 EST


Chris Friesen wrote:
> Really? You can call pthread_attr_setschedpolicy() with a policy of
> SCHED_MM? On my copy of glibc 2.8 it explicitly checks for
> FIFO/RR/OTHER and anything else is rejected.

My copy of 2.9 has that fixed (original one is still broken), because
that's also broken for SCHED_IDLE and SCHED_BATCH which have been in the
kernel for a while already.

I'm not sure, but I think pthread_setschedparam() and
sched_setscheduler() didn't need fixing.


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