diff options
| -rw-r--r-- | debian/patches/14_alloc_params.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/14_alloc_params.patch b/debian/patches/14_alloc_params.patch index f4b7e69..d2ce0cf 100644 --- a/debian/patches/14_alloc_params.patch +++ b/debian/patches/14_alloc_params.patch @@ -1,3 +1,9 @@ +2007-12-30 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * 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. + 2007-08-20 Samuel Thibault <samuel.thibault@ens-lyon.org> * vm/vm_object.c (vm_object_cached_max): Increase from 200 to 2000. @@ -63,3 +69,25 @@ diff -u -p -r1.2.4.9 vm_object.c decl_simple_lock_data(,vm_object_cached_lock_data) +--- linux/dev/glue/block.c.orig 2007-12-30 15:55:04.000000000 +0000 ++++ linux/dev/glue/block.c 2007-12-30 15:55:22.000000000 +0000 +@@ -572,7 +572,7 @@ + } + + #define BH_Bounce 16 +-#define MAX_BUF VM_MAP_COPY_PAGE_LIST_MAX ++#define MAX_BUF 8 + + /* Perform read/write operation RW on device DEV + starting at *off to/from buffer *BUF of size *RESID. +--- vm/vm_map.h.orig 2007-12-30 15:56:22.000000000 +0000 ++++ vm/vm_map.h 2007-12-30 15:56:27.000000000 +0000 +@@ -226,7 +226,7 @@ + * (returned) and an abort flag (abort if TRUE). + */ + +-#define VM_MAP_COPY_PAGE_LIST_MAX 8 ++#define VM_MAP_COPY_PAGE_LIST_MAX 64 + + typedef struct vm_map_copy { + int type; |
