NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/38009: priority adjustment by _sched_setparam is not useful for SCHED_OTHER

>Number:         38009
>Category:       kern
>Synopsis:       priority adjustment by _sched_setparam is not useful for 
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 12 08:55:00 +0000 2008
>Originator:     YAMAMOTO Takashi <>
>Release:        NetBSD 4.99.54
        _sched_setparam modifies l_priority using the user-supplied value.
        however, for SCHED_OTHER, it will be overwritten soon by
        dynamic adjustments.
        save the user-supplied value somewhere and use it to
        calculate effective priority.  (like solaris)


        disallow user priority adjustments for SCHED_OTHER.  (like linux)


Home | Main Index | Thread Index | Old Index