[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <f128cfd0cff63bd1836ffc6f46ce716af67e37d2.1394529373.git.yangds.fnst@cn.fujitsu.com>
Date: Tue, 11 Mar 2014 17:20: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, heiko.carstens@...ibm.com,
Dongsheng Yang <yangds.fnst@...fujitsu.com>,
ocfs2-devel@....oracle.com, Dong Fang <yp.fangdong@...il.com>
Subject: [PATCH 08/16] fs/hearbeat: Replace hardcoding of -20 with MIN_NICE.
Signed-off-by: Dongsheng Yang <yangds.fnst@...fujitsu.com>
cc: ocfs2-devel@....oracle.com
cc: Dong Fang <yp.fangdong@...il.com>
---
fs/ocfs2/cluster/heartbeat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c
index bf482df..7303929 100644
--- a/fs/ocfs2/cluster/heartbeat.c
+++ b/fs/ocfs2/cluster/heartbeat.c
@@ -1107,7 +1107,7 @@ static int o2hb_thread(void *data)
mlog(ML_HEARTBEAT|ML_KTHREAD, "hb thread running\n");
- set_user_nice(current, -20);
+ set_user_nice(current, MIN_NICE);
/* Pin node */
o2nm_depend_this_node();
--
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