Skip to content
Commit 939054e1 authored by limingming3's avatar limingming3 Committed by Greg Kroah-Hartman
Browse files

tools/rtla: Replace setting prio with nice for SCHED_OTHER

commit 14f08c97 upstream.

Since the sched_priority for SCHED_OTHER is always 0, it makes no
sence to set it.
Setting nice for SCHED_OTHER seems more meaningful.

Link: https://lkml.kernel.org/r/20240207065142.1753909-1-limingming3@lixiang.com

Cc: stable@vger.kernel.org
Fixes: b1696371

 ("rtla: Helper functions for rtla")
Signed-off-by: default avatarlimingming3 <limingming3@lixiang.com>
Signed-off-by: default avatarDaniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d0bc5dfe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment