Re: [PATCH gnumach 1/2] ipc: rework the kernel message buffer cache

2015-01-01 Thread Samuel Thibault
Justus Winter, le Thu 18 Dec 2014 11:30:24 +0100, a écrit : > Keep a per-processor stack of free kernel messages buffers. Ack!

Re: [PATCH gnumach 2/2] ipc: also use the kernel message buffer cache for kernel messages

2015-01-01 Thread Samuel Thibault
Justus Winter, le Thu 18 Dec 2014 11:30:25 +0100, a écrit : > * ipc/ipc_kmsg.c (ipc_kmsg_get_from_kernel): Use the ikm cache. > (ipc_kmsg_put_to_kernel): Likewis. Ack! > --- > ipc/ipc_kmsg.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_k

Re: Rework of the kernel message buffer cache

2015-01-01 Thread Samuel Thibault
Justus Winter, le Thu 18 Dec 2014 11:30:23 +0100, a écrit : > Otoh I believe this is the right thing to do even if it doesn't > improve the performance, as the current solution might be worse in a > multi-cpu setting, as the `ipc_kmsg_cache' would bounce back and forth > between per-cpu caches. Al