linux/Documentation
Hugh Dickins c73602ad31 ksm: more on default values
Adjust the max_kernel_pages default to a quarter of totalram_pages,
instead of nr_free_buffer_pages() / 4: the KSM pages themselves come from
highmem, and even on a 16GB PAE machine, 4GB of KSM pages would only be
pinning 32MB of lowmem with their rmap_items, so no need for the more
obscure calculation (nor for its own special init function).

There is no way for the user to switch KSM on if CONFIG_SYSFS is not
enabled, so in that case default run to KSM_RUN_MERGE.

Update KSM Documentation and Kconfig to reflect the new defaults.

Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: Izik Eidus <ieidus@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-10-08 07:36:38 -07:00
..
2009-04-07 08:12:38 +02:00
2008-02-14 00:16:13 -05:00
2008-10-16 11:21:30 -07:00
2009-06-22 10:12:35 +01:00
2008-02-03 15:54:28 +02:00
2009-10-04 22:53:45 +02:00
2009-06-20 01:10:38 -07:00
2009-09-20 12:27:42 +02:00
2009-09-10 10:46:55 +03:00
2008-01-11 18:22:30 -06:00
2009-10-02 09:55:19 -07:00
2009-06-18 13:04:04 -07:00
2009-08-23 10:32:40 +02:00
2008-04-29 02:49:47 -04:00
2009-09-23 06:46:41 -07:00
2009-10-08 07:36:38 -07:00
2009-10-04 22:53:41 +02:00
2008-12-03 16:09:53 -07:00
2008-07-25 10:53:30 -07:00
2008-11-12 17:17:18 -08:00
2008-11-14 10:39:26 +11:00
2009-09-15 17:04:38 -07:00
2009-09-23 07:39:48 -07:00
2008-03-24 19:22:19 -07:00
2009-07-01 22:36:22 +02:00
2009-08-28 15:21:12 -04:00
2008-10-20 15:43:10 +02:00
2009-04-27 12:00:27 -07:00
2009-04-27 12:00:27 -07:00
2008-08-12 16:07:30 -07:00
2009-03-31 15:18:37 +11:00
2008-11-12 17:17:17 -08:00
2009-04-14 09:00:23 +10:00