summaryrefslogtreecommitdiff
path: root/debian/patches/git-kentry_data_size.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-12 01:26:54 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-12 01:26:54 +0100
commitd669f88625dd70b3d895bfb3879d5f32ed081f91 (patch)
tree803c332aa372d2b76612593fad6d85cf1f2f8d70 /debian/patches/git-kentry_data_size.patch
parent42dbe8938ec3f03a0de4fe6570678419d3eca3fe (diff)
sync with upstream packaging
Diffstat (limited to 'debian/patches/git-kentry_data_size.patch')
-rw-r--r--debian/patches/git-kentry_data_size.patch38
1 files changed, 38 insertions, 0 deletions
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 <rbraun@sceen.net>
+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 <kern/macro_help.h>
+
+ /* 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.