Messages in this thread |  | | | Date | Tue, 12 May 2009 09:32:00 -0600 | | From | "Chris Friesen" <> | | Subject | Re: [RFC][PATCH] Multimedia scheduling class, take 2 |
| |
Jussi Laako wrote: > Peter Zijlstra wrote: > >>As to the patch, I still think its an exceedingly bad idea to create >>such a horridly ill defined scheduler class. There's nothing that keeps >>people from stuffing everything in there and either generating DoS >>issues or still generating bad interactivity. > > > Lite patch practically exports nice levels as scheduling priorities in > order to make it possible to assign different levels to different > threads of the same process.
If all you're trying to do is allow different threads to run at different nice levels, what about extending sys_setpriority() to take a "which" of PRIO_THREAD? We'd probably have to call the syscall directly until/unless libc picks up the new option. Chris
|  |