diff options
author | Samuel Thibault <sthibault@debian.org> | 2007-12-30 22:25:37 +0000 |
---|---|---|
committer | Samuel Thibault <sthibault@debian.org> | 2007-12-30 22:25:37 +0000 |
commit | 1db376bbc2359602e39e2994bc3e097923fde584 (patch) | |
tree | 5ac511b82530ebf2503e1f3a54dbf3e8a5eacf7f /debian/patches | |
parent | 8cc7852dfe2343749b5601e859134c96679c2aea (diff) |
2007-12-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
* vm/vm_pageout.h (VM_PAGE_EXTERNAL_LIMIT): Increase to 2/3 free memory.
(VM_PAGE_EXTERNAL_TARGET): Increase to 1/2 free memory.
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/14_alloc_params.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/14_alloc_params.patch b/debian/patches/14_alloc_params.patch index d2ce0cf..836c6f3 100644 --- a/debian/patches/14_alloc_params.patch +++ b/debian/patches/14_alloc_params.patch @@ -3,6 +3,8 @@ * linux/dev/glue/block.c (MAX_BUF): Set to sane stack-friendly 8 instead of blindly following VM_MAP_COPY_PAGE_LIST_MAX. * vm/vm_map.h (VM_MAP_COPY_PAGE_LIST_MAX): Increase to 64. + * vm/vm_pageout.h (VM_PAGE_EXTERNAL_LIMIT): Increase to 2/3 free memory. + (VM_PAGE_EXTERNAL_TARGET): Increase to 1/2 free memory. 2007-08-20 Samuel Thibault <samuel.thibault@ens-lyon.org> @@ -91,3 +93,22 @@ diff -u -p -r1.2.4.9 vm_object.c typedef struct vm_map_copy { int type; +--- vm/vm_pageout.c 3 Dec 2006 21:50:21 -0000 1.7.2.5 ++++ vm/vm_pageout.c 30 Dec 2007 22:20:30 -0000 +@@ -111,14 +111,14 @@ + */ + + #ifndef VM_PAGE_EXTERNAL_LIMIT +-#define VM_PAGE_EXTERNAL_LIMIT(free) ((free) / 2) ++#define VM_PAGE_EXTERNAL_LIMIT(free) (((free) * 2) / 3) + #endif /* VM_PAGE_EXTERNAL_LIMIT */ + + /* Attempt to keep the number of externally paged pages less + * than vm_pages_external_target. + */ + #ifndef VM_PAGE_EXTERNAL_TARGET +-#define VM_PAGE_EXTERNAL_TARGET(free) ((free) / 4) ++#define VM_PAGE_EXTERNAL_TARGET(free) ((free) / 2) + #endif /* VM_PAGE_EXTERNAL_TARGET */ + + /* |