Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3459419pxf; Mon, 22 Mar 2021 07:01:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxbqcv2ElJb05Wd5ENgMiih/ifP5Ubmfb1xt+RX7zwOfNU2LKh+tLdOPyL60TO5lTtJTBg X-Received: by 2002:a05:6512:1191:: with SMTP id g17mr8916612lfr.87.1616421678350; Mon, 22 Mar 2021 07:01:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616421678; cv=none; d=google.com; s=arc-20160816; b=0fGmveR1FSGnnP1ZboPbniEAcvACAP9xhAXD1PhJGUlVWWGSpSbonKCoJmnFQIq3pX ZMqdanpJx1x5vuD2dhsoPFV33C92vWN0nAbVR994gVUlX/WU7ckn7WzwYhzsZkmVD276 dydOGJ4QySD3/tnsAHlOAVUqPr5IMiTJbvkzfAudvXmhXT4jp0tskQq5lLp/4lJtj5FS 6RthLaGKXb3jDW9Dn5m5kun8AiY93LuMYjjRheV+ok9urAL2akN4Q/Mi5o0VzSBKWUhZ SWp62HBmrp8MYA7bUPI/jLe3kpqBqCAFbhewqI4GNegiuwbrQnRetS8acinhjwnXlhrK eC6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=yUyt7tN6y0trbyIFcUfX/tUSod3y6nslYuJh/do2XAk=; b=LoQuescufirGBhVXyeXDFnpYp72ETrzR4QybDcQvp8BEpH+H111/5FCNJrFNOl4IFX hFbPsS2N1V0+UDUTRGqiIzrcuQkboy2cY2nZp/LcZb7jQNBSyOodO7Q3lO0550AHO85J j9VrtYY49wLrrizkg9dyxz6fKEOLk8uH9PMMJabrjI+rkDfAwikTubiOFxeHJkrc1AtH SHtwzsetPtTB4SXLThJ92Qcyx2KEyFhnIsZNKObNF9sDY5p2c1f/4t8m40chiPr2Kolf Qz0WSIg/m/1LbNABfxEqa9hWlwHfTPD86rDOIzyzv8/B7+4G1DwoJEZWOpxK2T/XjaFH NbVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yk13si10802026ejb.127.2021.03.22.07.00.54; Mon, 22 Mar 2021 07:01:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229673AbhCVN5v (ORCPT + 99 others); Mon, 22 Mar 2021 09:57:51 -0400 Received: from verein.lst.de ([213.95.11.211]:55847 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbhCVN5Z (ORCPT ); Mon, 22 Mar 2021 09:57:25 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 9A71868BEB; Mon, 22 Mar 2021 14:57:18 +0100 (CET) Date: Mon, 22 Mar 2021 14:57:18 +0100 From: Christoph Hellwig To: Sergey Senozhatsky Cc: Matthew Wilcox , Namjae Jeon , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-cifs@vger.kernel.org, linux-cifsd-devel@lists.sourceforge.net, smfrench@gmail.com, hyc.lee@gmail.com, viro@zeniv.linux.org.uk, hch@lst.de, hch@infradead.org, ronniesahlberg@gmail.com, aurelien.aptel@gmail.com, aaptel@suse.com, sandeen@sandeen.net, dan.carpenter@oracle.com, colin.king@canonical.com, rdunlap@infradead.org, Sergey Senozhatsky , Steve French Subject: Re: [PATCH 3/5] cifsd: add file operations Message-ID: <20210322135718.GA28451@lst.de> References: <20210322051344.1706-1-namjae.jeon@samsung.com> <20210322051344.1706-4-namjae.jeon@samsung.com> <20210322081512.GI1719932@casper.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 22, 2021 at 06:03:21PM +0900, Sergey Senozhatsky wrote: > 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. Do we have any data suggesting it is faster than vmalloc?