From d669f88625dd70b3d895bfb3879d5f32ed081f91 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 12 Feb 2014 01:26:54 +0100 Subject: sync with upstream packaging --- debian/patches/git-kentry_data_size.patch | 38 +++++++++++++++++++++++++++++++ debian/patches/series | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 debian/patches/git-kentry_data_size.patch (limited to 'debian/patches') diff --git a/debian/patches/git-kentry_data_size.patch b/debian/patches/git-kentry_data_size.patch new file mode 100644 index 0000000..d7529d2 --- /dev/null +++ b/debian/patches/git-kentry_data_size.patch @@ -0,0 +1,38 @@ +commit dd0989ad8e7526844fcbc2e26bbcc4cc37a010ac +Author: Richard Braun +Date: Thu Oct 10 20:21:17 2013 +0200 + + Increase kernel map entry pool size + + * vm/vm_map.h (KENTRY_DATA_SIZE): Set to 256 pages. + +diff --git a/vm/vm_map.h b/vm/vm_map.h +index 5fdac4e..1caf9ae 100644 +--- a/vm/vm_map.h ++++ b/vm/vm_map.h +@@ -55,7 +55,7 @@ + #include + + /* TODO: make it dynamic */ +-#define KENTRY_DATA_SIZE (64*PAGE_SIZE) ++#define KENTRY_DATA_SIZE (256*PAGE_SIZE) + + /* + * Types defined: + + +Additionally reduce the slab size to 64MiB to make room for that. + +diff --git a/kern/slab.c b/kern/slab.c +index 47c2c8f..4034579 100644 +--- a/kern/slab.c ++++ b/kern/slab.c +@@ -165,7 +165,7 @@ + /* + * Size of the VM submap from which default backend functions allocate. + */ +-#define KMEM_MAP_SIZE (128 * 1024 * 1024) ++#define KMEM_MAP_SIZE (96 * 1024 * 1024) + + /* + * Shift for the first kalloc cache size. diff --git a/debian/patches/series b/debian/patches/series index 6b215aa..f20e857 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,5 +3,5 @@ 50_initrd.patch 60_bigmem.patch 70_dde.patch +git-kentry_data_size.patch protected_payload.patch - -- cgit v1.2.3