summaryrefslogtreecommitdiff
path: root/debian/patches/0001-ipc-tune-size-of-cached-kernel-message-buffers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0001-ipc-tune-size-of-cached-kernel-message-buffers.patch')
-rw-r--r--debian/patches/0001-ipc-tune-size-of-cached-kernel-message-buffers.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/debian/patches/0001-ipc-tune-size-of-cached-kernel-message-buffers.patch b/debian/patches/0001-ipc-tune-size-of-cached-kernel-message-buffers.patch
deleted file mode 100644
index b0ce51c..0000000
--- a/debian/patches/0001-ipc-tune-size-of-cached-kernel-message-buffers.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 73314404a9bd7106514b711cd69765b4081b6bed Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Tue, 16 Dec 2014 13:36:08 +0100
-Subject: [PATCH gnumach 1/2] ipc: tune size of cached kernel message buffers
-
-The previous limit was 256 bytes. That seems a little crummy by
-todays standards, and we are frequently sending bigger packets
-(e.g. every RPC containing a string_t on Hurd).
-
-Use the page size for IKM_SAVED_KMSG_SIZE to make sure the page is
-pinned to a single processor.
-
-* ipc/ipc_kmsg.h (IKM_SAVED_KMSG_SIZE): Define to `PAGE_SIZE'.
----
- ipc/ipc_kmsg.h | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/ipc/ipc_kmsg.h b/ipc/ipc_kmsg.h
-index 07695fb..f06857a 100644
---- a/ipc/ipc_kmsg.h
-+++ b/ipc/ipc_kmsg.h
-@@ -92,9 +92,12 @@ extern ipc_kmsg_t ipc_kmsg_cache[NCPUS];
- /*
- * The size of the kernel message buffers that will be cached.
- * IKM_SAVED_KMSG_SIZE includes overhead; IKM_SAVED_MSG_SIZE doesn't.
-+ *
-+ * We use the page size for IKM_SAVED_KMSG_SIZE to make sure the
-+ * page is pinned to a single processor.
- */
-
--#define IKM_SAVED_KMSG_SIZE ((vm_size_t) 256)
-+#define IKM_SAVED_KMSG_SIZE PAGE_SIZE
- #define IKM_SAVED_MSG_SIZE ikm_less_overhead(IKM_SAVED_KMSG_SIZE)
-
- #define ikm_alloc(size) \
---
-2.1.3
-