Re: [PATCH gnumach 1/2] ipc: rework the kernel message buffer cache
Justus Winter, le Thu 18 Dec 2014 11:30:24 +0100, a écrit : > Keep a per-processor stack of free kernel messages buffers. Ack!
[PATCH gnumach 1/2] ipc: rework the kernel message buffer cache
Keep a per-processor stack of free kernel messages buffers. * ipc/ipc_kmsg.h (IKM_CACHE_SIZE): New macro. (struct ipc_mksg_cpu_cache): New type. (ipc_kmsg_cache): Use the new type for the cache. (ikm_cache): Drop macro. (ikm_cache_get, ikm_cache_put): New functions. (ikm_free): Return buffers inst