diff options
author | Izik Eidus <ieidus@redhat.com> | 2009-09-24 00:56:04 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 16:20:56 +0200 |
commit | 2c6854fdadf940678fd54779b778f6faafb870bb (patch) | |
tree | 0ed3efb3651813593e38e7976d1201a738b300a6 /fs/hugetlbfs | |
parent | input: fix build failures caused by Kconfig Winbond WPCD376I Consumer IR hard... (diff) | |
download | linux-2c6854fdadf940678fd54779b778f6faafb870bb.tar.xz linux-2c6854fdadf940678fd54779b778f6faafb870bb.zip |
ksm: change default values to better fit into mainline kernel
Now that ksm is in mainline it is better to change the default values to
better fit to most of the users.
This patch change the ksm default values to be:
ksm_thread_pages_to_scan = 100 (instead of 200)
ksm_thread_sleep_millisecs = 20 (like before)
ksm_run = KSM_RUN_STOP (instead of KSM_RUN_MERGE - meaning ksm is
disabled by default)
ksm_max_kernel_pages = nr_free_buffer_pages / 4 (instead of 2046)
The important aspect of this patch is: it disables ksm by default, and sets
the number of the kernel_pages that can be allocated to be a reasonable
number.
Signed-off-by: Izik Eidus <ieidus@redhat.com>
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hugetlbfs')
0 files changed, 0 insertions, 0 deletions