mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
ksm: change ksm nice level to be 5
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]>
This commit is contained in:
parent
36b2528dc1
commit
339aa62469
1 changed files with 1 additions and 1 deletions
2
mm/ksm.c
2
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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue