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 
>SCHED_OTHER
>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 <yamt%mwd.biglobe.ne.jp@localhost>
>Release:        NetBSD 4.99.54
>Organization:
        
>Environment:
        
        
>Description:
        _sched_setparam modifies l_priority using the user-supplied value.
        however, for SCHED_OTHER, it will be overwritten soon by
        dynamic adjustments.
>How-To-Repeat:
>Fix:
        save the user-supplied value somewhere and use it to
        calculate effective priority.  (like solaris)

        or

        disallow user priority adjustments for SCHED_OTHER.  (like linux)

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index