Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp661848pxu; Mon, 23 Nov 2020 00:09:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxACBdv/SzLICs/VjnPO3wdz9rDTpnCzUrGL1cu4Ug9w3ZACbDygRSTSFXz9GyBmpIU4Qci X-Received: by 2002:a17:906:ee2:: with SMTP id x2mr32827782eji.326.1606118943054; Mon, 23 Nov 2020 00:09:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606118943; cv=none; d=google.com; s=arc-20160816; b=YlZnivZJQ+/S0GEb2wtVxZGPcG6Ib6VC1IwurY2g11I5NQg3SqCbc3Kycf0xJywOKK oMTnGPTFJzncomvRb/PGXDqQO2NZiSHFGFwlHvaRPRYz9Qh7p99XAXnpwvE0LNkQB4Y1 xCgR+8HSABPTGLx29ycVcuhXyHyvcJOLq5jl8nIFXNnwq+82+titwd4Sq05ilYfpOiz3 yJtMnNRiZVDBQVYNlqLi3C58FfYBy13z37bYnwD/ICmlHZG2Ed+dAMM2NBOLkqiinoTi jHsSSMXrMGnTC0dELOhhwCgs/LGm2Xb3wm09jUpj9GXiUpknooBpgJ0b5ZWwXFyF9YBO f9fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6vGNH6/LtgD9H2B7jY2SC28nVQh3dS5TfEwthu4Yqq0=; b=zjeUbCJ0Cd71oEaHKb5KS9I5UAMM+fKXJLOO9VCzsgvuM6wtlfW6IDBa/mZVqsDMql ogtWFN7KxHDVOT8C/FlucCE34szqfY2lMf64axRv5vxP6Oxr0NrVQgtcYHOvLk+0UPVv QlhGUHCFME7El4UPukGuvl062mn/YK3R9eXdmuZNEhFNe0FjszCNslQ9T7ECOiKI/YpV UVYxLluMLf2udGgPtYH2+D9XeEHqICzkiaifCyQyONi4WDBCd+TL5Roul+4V+OCELkhi mfrGbFJ4nx3rvjnchJNlPV8AgBxn0zvn+wMKq2FFh+ncqvvUKLHCqcoArjCUcDS2tOzE FJmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ZAqo9NfK; 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 e18si6037046ejq.261.2020.11.23.00.08.39; Mon, 23 Nov 2020 00:09:03 -0800 (PST) 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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ZAqo9NfK; 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 S1728197AbgKWIFR (ORCPT + 99 others); Mon, 23 Nov 2020 03:05:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725998AbgKWIFQ (ORCPT ); Mon, 23 Nov 2020 03:05:16 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5584CC0613CF; Mon, 23 Nov 2020 00:05:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=6vGNH6/LtgD9H2B7jY2SC28nVQh3dS5TfEwthu4Yqq0=; b=ZAqo9NfKjGkL2SJi0Et2eFTHHn SyVCEbdUmUIfwpdvBuuWvFBs+XXOd7k1xLJehh+E7u1OeHRW7tdsHvERCOFJ18rpuaDwZrh2Bpf4p GHifpGgC0MOM2Cj739hSkfHtJxZ7U412O1Tzn65r8/mLOHMADt9YJdfREPFf2EtryGT+OIY+r4Nz1 WBeADPY66kCsCM8yUaREC77lOZ09vI2AT1QsaaFr1N1hHvNXhVevUpoQ2ZnJ531G4XlESqBTwNfAN 9Se0TiLHstfosyW2NcAEDqbCjU1U+jZvKjRy4hDToRxwrdt597/uGrDfWAgjbGxLFhVXqyo8FblrG HduUcWMw==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kh6qQ-000852-Hy; Mon, 23 Nov 2020 08:05:06 +0000 Date: Mon, 23 Nov 2020 08:05:06 +0000 From: Christoph Hellwig To: David Howells Cc: Pavel Begunkov , Matthew Wilcox , Jens Axboe , Alexander Viro , Linus Torvalds , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 01/29] iov_iter: Switch to using a table of operations Message-ID: <20201123080506.GA30578@infradead.org> References: <160596800145.154728.7192318545120181269.stgit@warthog.procyon.org.uk> <160596801020.154728.15935034745159191564.stgit@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <160596801020.154728.15935034745159191564.stgit@warthog.procyon.org.uk> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 21, 2020 at 02:13:30PM +0000, David Howells wrote: > Switch to using a table of operations. In a future patch the individual > methods will be split up by type. For the moment, however, the ops tables > just jump directly to the old functions - which are now static. Inline > wrappers are provided to jump through the hooks. > > Signed-off-by: David Howells Please run performance tests. I think the indirect calls could totally wreck things like high performance direct I/O, especially using io_uring on x86.