From e066a8798cbad423c3a14f6aa85ab41ce11483b5 Mon Sep 17 00:00:00 2001 From: Balazs Gerofi Date: Sun, 29 Jan 2017 20:34:43 +0900 Subject: [PATCH] IKC: adjust master channel queue size to nr. of CPUs --- arch/x86/kernel/mikc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/mikc.c b/arch/x86/kernel/mikc.c index 8b68ae6e..79ced05a 100644 --- a/arch/x86/kernel/mikc.c +++ b/arch/x86/kernel/mikc.c @@ -30,7 +30,7 @@ int ihk_mc_ikc_init_first_local(struct ihk_ikc_channel_desc *channel, memset(channel, 0, sizeof(struct ihk_ikc_channel_desc)); - mikc_queue_pages = ((num_processors * MASTER_IKCQ_PKTSIZE) + mikc_queue_pages = ((2 * num_processors * MASTER_IKCQ_PKTSIZE) + (PAGE_SIZE - 1)) / PAGE_SIZE; /* Place both sides in this side */