blob: 07e24a11128408199c6d0d0a47d2fd3dad001bea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From ef10e9780f871485b326082c3f5e3d1dae05ea37 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..72bc9a6 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 ((2 * (1 << CPU_L1_SHIFT) - sizeof (size_t)) \
/ sizeof (ipc_kmsg_t))
struct ipc_kmsg_cpu_cache
--
2.1.3
|