summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/page-writeback.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 71e68aae0..5c90bd9f4 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -71,7 +71,7 @@ static long ratelimit_pages = 32;
* Start background writeback (via writeback threads) at this percentage
*/
#ifdef CONFIG_PCK_INTERACTIVE
-int dirty_background_ratio;
+int dirty_background_ratio = 20;
#else
int dirty_background_ratio = 10;
#endif
@@ -80,11 +80,7 @@ int dirty_background_ratio = 10;
* dirty_background_bytes starts at 0 (disabled) so that it is a function of
* dirty_background_ratio * the amount of dirtyable memory
*/
-#ifdef CONFIG_PCK_INTERACTIVE
-unsigned long dirty_background_bytes = 128 * 1024 * 1024;
-#else
unsigned long dirty_background_bytes;
-#endif
/*
* free highmem will not be subtracted from the total free memory
@@ -96,7 +92,7 @@ int vm_highmem_is_dirtyable;
* The generator of dirty data starts writeback at this percentage
*/
#ifdef CONFIG_PCK_INTERACTIVE
-int vm_dirty_ratio;
+int vm_dirty_ratio = 50;
#else
int vm_dirty_ratio = 20;
#endif
@@ -105,11 +101,7 @@ int vm_dirty_ratio = 20;
* vm_dirty_bytes starts at 0 (disabled) so that it is a function of
* vm_dirty_ratio * the amount of dirtyable memory
*/
-#ifdef CONFIG_PCK_INTERACTIVE
-unsigned long vm_dirty_bytes = 256 * 1024 * 1024;
-#else
unsigned long vm_dirty_bytes;
-#endif
/*
* The interval between `kupdate'-style writebacks