lkml.org 
[lkml]   [2014]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 11/17] driver/char: Replace hardcoding of 19 with MAX_NICE.
    Date
    Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
    cc: openipmi-developer@lists.sourceforge.net
    cc: Corey Minyard <minyard@acm.org>
    ---
    drivers/char/ipmi/ipmi_si_intf.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
    index 03f4189..03c0eed 100644
    --- a/drivers/char/ipmi/ipmi_si_intf.c
    +++ b/drivers/char/ipmi/ipmi_si_intf.c
    @@ -999,7 +999,7 @@ static int ipmi_thread(void *data)
    struct timespec busy_until;

    ipmi_si_set_not_busy(&busy_until);
    - set_user_nice(current, 19);
    + set_user_nice(current, MAX_NICE);
    while (!kthread_should_stop()) {
    int busy_wait;

    --
    1.8.2.1


    \
     
     \ /
      Last update: 2014-03-11 12:02    [W:7.743 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site