Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | Dongsheng Yang <> | Subject | [PATCH 11/17] driver/char: Replace hardcoding of 19 with MAX_NICE. | Date | Tue, 11 Mar 2014 18:09:19 +0800 |
| |
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
| ![\](/images/icornerr.gif) |