lkml.org 
[lkml]   [2009]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2009-05-12 17:35    [W:0.048 / U:0.992 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site