diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-03-11 18:08:49 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-03-11 18:08:49 -0300 |
commit | d4e493caf788ef44982e131ff9c786546904d934 (patch) | |
tree | 04c72e6d295ff6b222c2991ff4b87d16d651443b /mm | |
parent | eccbe858ce6412b96fc7cb32eb23a3592f64e5f6 (diff) |
Linux-libre 4.4.5-gnupck-4.4.5-gnu
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page-writeback.c | 12 |
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 |