Xiang Xiao 3d0320f891 libc/sched: Map the nice value more correctly
from https://pubs.opengroup.org/onlinepubs/007904875/functions/setpriority.html:
1.The nice value shall in the range [-{NZERO},{NZERO} -1]
2.Lower nice value shall cause more favorable scheduling

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I5ad60d92abc3b69fbaa406da68cec2e40ca3fa6d
2021-06-24 08:50:48 -03:00
..
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-02 03:44:06 -08:00
2021-03-02 03:44:06 -08:00
2021-03-02 03:44:06 -08:00
2020-05-01 10:43:47 -03:00
2021-03-02 03:44:06 -08:00
2021-03-02 03:44:06 -08:00
2021-03-02 03:44:06 -08:00
2021-03-03 18:52:53 -08:00