[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1399aabe789b16cb19adb87db61d593a9f9dc16d.1394513466.git.yangds.fnst@cn.fujitsu.com>
Date: Tue, 11 Mar 2014 12:59:29 +0800
From: Dongsheng Yang <yangds.fnst@...fujitsu.com>
To: linux-kernel@...r.kernel.org
Cc: joe@...ches.com, peterz@...radead.org, mingo@...nel.org,
tglx@...utronix.de, Dongsheng Yang <yangds.fnst@...fujitsu.com>,
devel@...verdev.osuosl.org, Xiong Zhou <jencce.kernel@...il.com>,
Andreas Dilger <andreas.dilger@...el.com>,
Cyril Roelandt <tipecaml@...il.com>,
Kent Overstreet <kmo@...erainc.com>,
Peng Tao <bergwolf@...il.com>
Subject: [PATCH 14/15] driver/staging/lustre: Replace hardcoding of -20 with MIN_NICE.
Signed-off-by: Dongsheng Yang <yangds.fnst@...fujitsu.com>
cc: devel@...verdev.osuosl.org
cc: Xiong Zhou <jencce.kernel@...il.com>
cc: Andreas Dilger <andreas.dilger@...el.com>
cc: Cyril Roelandt <tipecaml@...il.com>
cc: Kent Overstreet <kmo@...erainc.com>
cc: Peng Tao <bergwolf@...il.com>
---
drivers/staging/lustre/lustre/llite/lloop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/llite/lloop.c b/drivers/staging/lustre/lustre/llite/lloop.c
index 0718905..e40fc84 100644
--- a/drivers/staging/lustre/lustre/llite/lloop.c
+++ b/drivers/staging/lustre/lustre/llite/lloop.c
@@ -407,7 +407,7 @@ static int loop_thread(void *data)
int refcheck;
int ret = 0;
- set_user_nice(current, -20);
+ set_user_nice(current, MIN_NICE);
lo->lo_state = LLOOP_BOUND;
--
1.8.2.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists