Re: [PATCH 3/5] cifsd: add file operations

From: Sergey Senozhatsky
Date: Mon Mar 22 2021 - 05:04:21 EST


On (21/03/22 08:15), Matthew Wilcox wrote:
>
> What's the scenario for which your allocator performs better than slub
>

IIRC request and reply buffers can be up to 4M in size. So this stuff
just allocates a number of fat buffers and keeps them around so that
it doesn't have to vmalloc(4M) for every request and every response.