projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36b2528
)
ksm: change ksm nice level to be 5
author
Izik Eidus
<
[email protected]
>
Tue, 22 Sep 2009 00:02:07 +0000
(17:02 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 22 Sep 2009 14:17:31 +0000
(07:17 -0700)
ksm should try not to disturb other tasks as much as possible.
Signed-off-by: Izik Eidus <
[email protected]
>
Cc: Chris Wright <
[email protected]
>
Cc: Hugh Dickins <
[email protected]
>
Cc: Andrea Arcangeli <
[email protected]
>
Cc: Rik van Riel <
[email protected]
>
Cc: Wu Fengguang <
[email protected]
>
Cc: Balbir Singh <
[email protected]
>
Cc: Hugh Dickins <
[email protected]
>
Cc: KAMEZAWA Hiroyuki <
[email protected]
>
Cc: Lee Schermerhorn <
[email protected]
>
Cc: Avi Kivity <
[email protected]
>
Cc: Nick Piggin <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/ksm.c
patch
|
blob
|
history
diff --git
a/mm/ksm.c
b/mm/ksm.c
index 0113f15ff43b04ffa06cff9b547534d3392c0ea0..cf072c54df3297dbe956921a92d27a82543cbd86 100644
(file)
--- a/
mm/ksm.c
+++ b/
mm/ksm.c
@@
-1263,7
+1263,7
@@
static void ksm_do_scan(unsigned int scan_npages)
static int ksm_scan_thread(void *nothing)
{
- set_user_nice(current,
0
);
+ set_user_nice(current,
5
);
while (!kthread_should_stop()) {
if (ksm_run & KSM_RUN_MERGE) {