mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 00:06:36 +00: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 <ieidus@redhat.com> Cc: Chris Wright <chrisw@redhat.com> Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Rik van Riel <riel@redhat.com> Cc: Wu Fengguang <fengguang.wu@intel.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Lee Schermerhorn <lee.schermerhorn@hp.com> Cc: Avi Kivity <avi@redhat.com> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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…
Add table
Reference in a new issue