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