There is a macro rlimit_to_nice in linux/sched/prio.h to convert priority in
rlimit
to nice value.
This patch replace the opened implementation with rlimit_to_nice.
Signed-off-by: Dongsheng Yang
cc: de...@driverdev.osuosl.org
cc: Masanari Iida
cc: Bojan Prtvar
cc: Serban Constantinescu
Signed-off-by: Dongsheng Yang
cc: de...@driverdev.osuosl.org
cc: Xiong Zhou
cc: Andreas Dilger
cc: Cyril Roelandt
cc: Kent Overstreet
cc: Peng Tao
---
drivers/staging/lustre/lustre/llite/lloop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre
Signed-off-by: Dongsheng Yang
cc: de...@driverdev.osuosl.org
cc: Xiong Zhou
cc: Andreas Dilger
cc: Cyril Roelandt
cc: Kent Overstreet
cc: Peng Tao
---
drivers/staging/lustre/lustre/llite/lloop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre
There is a macro rlimit_to_nice in linux/sched/prio.h to convert priority in
rlimit
to nice value.
This patch replace the opened implementation with rlimit_to_nice.
Signed-off-by: Dongsheng Yang
cc: de...@driverdev.osuosl.org
cc: Masanari Iida
cc: Bojan Prtvar
cc: Serban Constantinescu
There is a macro RLINIT_TO_NICE in linux/sched/prio.h to convert priority in
rlimit
to nice value.
This patch replace the opened implementation with RLINIT_TO_NICE.
Signed-off-by: Dongsheng Yang
cc: de...@driverdev.osuosl.org
cc: Masanari Iida
cc: Bojan Prtvar
cc: Serban Constantinescu
Signed-off-by: Dongsheng Yang
cc: de...@driverdev.osuosl.org
cc: Xiong Zhou
cc: Andreas Dilger
cc: Cyril Roelandt
cc: Kent Overstreet
cc: Peng Tao
---
drivers/staging/lustre/lustre/llite/lloop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre