diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-12-17 19:03:21 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-12-17 19:03:21 +0100 |
commit | 59fd850cddd7b5e5b1f206dd1ec602a60af93654 (patch) | |
tree | 624116ac1c0db9c2d4786e16ce9fc576a6ec8cd3 /debian/patches | |
parent | 13c2d67776c968ea635fb4654df889bc14835363 (diff) |
drop patches
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/0002-ipc-also-use-the-kernel-message-buffer-cache-for-ker.patch | 40 | ||||
-rw-r--r-- | debian/patches/0003-doublesize-me.patch | 25 | ||||
-rw-r--r-- | debian/patches/series | 2 |
3 files changed, 0 insertions, 67 deletions
diff --git a/debian/patches/0002-ipc-also-use-the-kernel-message-buffer-cache-for-ker.patch b/debian/patches/0002-ipc-also-use-the-kernel-message-buffer-cache-for-ker.patch deleted file mode 100644 index aa64b34..0000000 --- a/debian/patches/0002-ipc-also-use-the-kernel-message-buffer-cache-for-ker.patch +++ /dev/null @@ -1,40 +0,0 @@ -From b4bfcd3564cd7443a44aa8f238c3c865a18a10f5 Mon Sep 17 00:00:00 2001 -From: Justus Winter <4winter@informatik.uni-hamburg.de> -Date: Wed, 17 Dec 2014 14:47:19 +0100 -Subject: [PATCH gnumach 2/3] ipc: also use the kernel message buffer cache for - kernel messages - -* ipc/ipc_kmsg.c (ipc_kmsg_get_from_kernel): Use the ikm cache. -(ipc_kmsg_put_to_kernel): Likewis. ---- - ipc/ipc_kmsg.c | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c -index 04cdbc9..c26569b 100644 ---- a/ipc/ipc_kmsg.c -+++ b/ipc/ipc_kmsg.c -@@ -544,10 +544,9 @@ ipc_kmsg_get_from_kernel( - assert(size >= sizeof(mach_msg_header_t)); - assert((size & 3) == 0); - -- kmsg = ikm_alloc(size); -+ kmsg = ikm_cache_get (size); - if (kmsg == IKM_NULL) - return MACH_SEND_NO_BUFFER; -- ikm_init(kmsg, size); - - memcpy(&kmsg->ikm_header, msg, size); - -@@ -611,7 +610,7 @@ ipc_kmsg_put_to_kernel( - - memcpy(msg, &kmsg->ikm_header, size); - -- ikm_free(kmsg); -+ ikm_cache_put (kmsg); - } - - /* --- -2.1.3 - diff --git a/debian/patches/0003-doublesize-me.patch b/debian/patches/0003-doublesize-me.patch deleted file mode 100644 index 9e2c569..0000000 --- a/debian/patches/0003-doublesize-me.patch +++ /dev/null @@ -1,25 +0,0 @@ -From bcf91ed9f1877a8b1eaacf2bcb1e74c29e4110a3 Mon Sep 17 00:00:00 2001 -From: Justus Winter <4winter@informatik.uni-hamburg.de> -Date: Wed, 17 Dec 2014 16:50:29 +0100 -Subject: [PATCH gnumach 3/3] doublesize me - ---- - ipc/ipc_kmsg.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/ipc/ipc_kmsg.h b/ipc/ipc_kmsg.h -index c676996..a2ac8ba 100644 ---- a/ipc/ipc_kmsg.h -+++ b/ipc/ipc_kmsg.h -@@ -106,7 +106,7 @@ MACRO_END - * `ikm_cache_get', and returned using `ikm_cache_put'. - */ - --#define IKM_CACHE_SIZE (((1 << CPU_L1_SHIFT) - sizeof (size_t)) \ -+#define IKM_CACHE_SIZE ((4 * (1 << CPU_L1_SHIFT) - sizeof (size_t)) \ - / sizeof (ipc_kmsg_t)) - - struct ipc_kmsg_cpu_cache --- -2.1.3 - diff --git a/debian/patches/series b/debian/patches/series index e318856..fdd7c2e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,5 +7,3 @@ Add-some-padding-to-make-objects-fit-a-single-cache-.patch vm_cache_policy.patch 0001-ipc-rework-the-kernel-message-buffer-cache.patch -0002-ipc-also-use-the-kernel-message-buffer-cache-for-ker.patch -0003-doublesize-me.patch |