Re: [V9fs-developer] [PATCH v2 2/2] net/9p: add a per-client fcall kmem_cache

2018-08-01 Thread Dominique Martinet
Dominique Martinet wrote on Thu, Aug 02, 2018: > [...] > + clnt->fcall_cache = kmem_cache_create("9p-fcall-cache", clnt->msize, > + 0, 0, NULL); Well, my gut feeling that I'd need a v3 was right, after a bit more time testing (slightly different setup

[PATCH v2 2/2] net/9p: add a per-client fcall kmem_cache

2018-08-01 Thread Dominique Martinet
From: Dominique Martinet Having a specific cache for the fcall allocations helps speed up allocations a bit, especially in case of non-"round" msizes. The caches will automatically be merged if there are multiple caches of items with the same size so we do not need to try to share a cache betwee