summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-08 16:44:56 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-08 16:44:56 +0200
commit844c51b3545c9bd989d07d90738c8c88ec235838 (patch)
tree9e9b2419a15085646f96f713f7c9d24b52992bbb /debian
parentdb173d0bf3f9dd85f75f81a9e4212b1cb39bab67 (diff)
add 0007-libihash-reduce-the-default-maximum-load-factor-to-7.patch
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/0007-libihash-reduce-the-default-maximum-load-factor-to-7.patch26
-rw-r--r--debian/patches/series1
2 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/0007-libihash-reduce-the-default-maximum-load-factor-to-7.patch b/debian/patches/0007-libihash-reduce-the-default-maximum-load-factor-to-7.patch
new file mode 100644
index 00000000..b82bed03
--- /dev/null
+++ b/debian/patches/0007-libihash-reduce-the-default-maximum-load-factor-to-7.patch
@@ -0,0 +1,26 @@
+From 6c1bcd510bacf9ab630349a7317dcf0d7e6987a1 Mon Sep 17 00:00:00 2001
+From: Justus Winter <4winter@informatik.uni-hamburg.de>
+Date: Thu, 8 May 2014 16:43:11 +0200
+Subject: [PATCH 7/7] libihash: reduce the default maximum load factor to 75%
+
+* libihash/ihash.h (HURD_IHASH_MAX_LOAD_DEFAULT): Set to 75.
+---
+ libihash/ihash.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libihash/ihash.h b/libihash/ihash.h
+index 3ca5ec3..6bdc925 100644
+--- a/libihash/ihash.h
++++ b/libihash/ihash.h
+@@ -94,7 +94,7 @@ typedef struct hurd_ihash *hurd_ihash_t;
+ /* Construction and destruction of hash tables. */
+
+ /* The default value for the maximum load factor in percent. */
+-#define HURD_IHASH_MAX_LOAD_DEFAULT 80
++#define HURD_IHASH_MAX_LOAD_DEFAULT 75
+
+ /* The LOCP_OFFS to use if no location pointer is available. */
+ #define HURD_IHASH_NO_LOCP INTPTR_MIN
+--
+2.0.0.rc0
+
diff --git a/debian/patches/series b/debian/patches/series
index bb1a6043..9a7a2c9a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -47,3 +47,4 @@ mach-defpager-protected-payload.patch
0004-libdiskfs-lock-less-reference-counting-for-peropen-o.patch
0005-libtrivfs-lock-less-reference-counting-for-trivfs_pr.patch
0006-libihash-use-an-integer-hash-function-on-the-keys.patch
+0007-libihash-reduce-the-default-maximum-load-factor-to-7.patch