Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp554378pxb; Thu, 21 Oct 2021 05:07:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydZTAx6qe6UOgisdOsdljdh9NHnTeSxlPGI7J2eqspqiwilOShZPMPuFL7S3/pBDa6bX1z X-Received: by 2002:a17:90b:33c6:: with SMTP id lk6mr6288574pjb.42.1634818030153; Thu, 21 Oct 2021 05:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634818030; cv=none; d=google.com; s=arc-20160816; b=B409ZxVuwPaHXL3X9Plb1zidMNZ+lrvTCn1anooE5AlCXu07yFnD+/azjcjQSFilHk MHUaEvZKFEPG5dw1pb7brza0R14WuyESzEJ3vt6ojO5QGTmgf4W2KMjLQwvVmYFyZUez lth5gkJ0eoWAfF0kFblChWrIx0oNY9VAcOjHtUoLBf8RyO4WD3dwolnVZerR6LBcSeSo ClPRh7td4jpBspxCfyxbH4AMeBXKFDupaSuQ1I+CxjlntdpdTDCCvDijalg36akHd3EV mkAowS/W68hIZGReKsXleJc1PDBjBL0FiLnx0aeueMoK+Lwm2C0zOjjGExEfsujQgfh+ ObYA== 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=luh0TIccmegXn8CJKJYKcwVKTjrSX33i0YnsKW7PqRo=; b=F2vhp3P3rk3vy3C3e9dgY0CeRhPFGn3N457/FoWm3A6qdio7EHebnvlAKvK41huiob kwO2Ve9SF0SdshhFONox6tKV0C9a1vgKvnhKZqdDFJGOD2YxUziySGEV6aSuagl2qR2r st8S+1pud062HpkPEhYxMwOhz83jd7YHS0Whv6nh9/tKZ10Y4HeckNRFfa7rLygCKdQn N/jxxe53RT3wobhKuYaA4LcNrtiICY2JnrtH5rdn+lFbz/7WmVjLYfbNqEX3vsPso+Ou sH5Jrr8mDOnUfNWy2FtB9dDZOt+Tl2c7ZlE/+aJEonkzfFhJ17Z/NchuqIPY+o+x5ubQ jDWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qGD4VnPE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si6601462plo.204.2021.10.21.05.06.56; Thu, 21 Oct 2021 05:07:10 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qGD4VnPE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231447AbhJUMF5 (ORCPT + 99 others); Thu, 21 Oct 2021 08:05:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230231AbhJUMF5 (ORCPT ); Thu, 21 Oct 2021 08:05:57 -0400 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5017CC06161C; Thu, 21 Oct 2021 05:03:41 -0700 (PDT) Received: by mail-qk1-x732.google.com with SMTP id bl14so819770qkb.4; Thu, 21 Oct 2021 05:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=luh0TIccmegXn8CJKJYKcwVKTjrSX33i0YnsKW7PqRo=; b=qGD4VnPE++cf1r2/FKV86F0A1UAugCAyIHl5wNZ1vD6jCIWAMUT6Rwb653yetmU3Ns w0ZJCx+yf0nvzehRE0j3tWpUfb2T1Oe1dc1ZcBtlB2Xj05XeWvCCffAID3/dyEVh73m0 hLUWc1vUsqc5fm5fLmyIU11Ht1P/+cxVUBvrbvwSWLw3TTGjonEQNQCATPY0G5mCYsf/ NoSDHyefyqDLnv6PiaDrkB4tlzLueZPa9b62UECl9lavceDHw4HQFcm91z9i/wEGdJFY 4yyd/9f3U21RxJGO88adsptB1gHxmpPqufPNYtAQXwRAql0yw+BZ/CggLOqHZYPHErmP /UPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=luh0TIccmegXn8CJKJYKcwVKTjrSX33i0YnsKW7PqRo=; b=7xmZ/vbxJKhFSsvyytf0IBW6BnUulEPgQMvn3kvIoCRb8pJCHxR7UwoKCx2nmU0TTl Ikvkh+2vqjnKHfto3ElMeot2Rzj/jMUGAs/PO461FLgFXPpdrA4lwMrLQkcQyAY/3n4L w3tW/mmppsPIp4ytIxpeNWPWJ0YDu7NObc2YVGzRgue3hEl7EaR7g+YWvW/FcLlyQHWT lqEPHBHGErWdTnklzVLKqR6i60dThNk+3FOv0iVZ4CRkTzAt664AwRppj7HX3jBnRqU2 4VsV7URgtUg6HdbkNqW4V2HGhrknqrz9+TnCosPrNnG/VUqc1DWXerPyN4vNCUiBwYnG +kDg== X-Gm-Message-State: AOAM5327ZRfvdDMun60uGbumat1UnLRbW4T5MOPbtTnMVeicsFvPF9v/ sqEqHcO9yzQYbFrey8O7PQ== X-Received: by 2002:a37:b307:: with SMTP id c7mr4157659qkf.134.1634817820520; Thu, 21 Oct 2021 05:03:40 -0700 (PDT) Received: from moria.home.lan (c-73-219-103-14.hsd1.vt.comcast.net. [73.219.103.14]) by smtp.gmail.com with ESMTPSA id l3sm2474608qkj.110.2021.10.21.05.03.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Oct 2021 05:03:39 -0700 (PDT) Date: Thu, 21 Oct 2021 08:03:37 -0400 From: Kent Overstreet To: David Hildenbrand Cc: Christoph Hellwig , Matthew Wilcox , Johannes Weiner , "Kirill A. Shutemov" , Linus Torvalds , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , "Darrick J. Wong" , David Howells , Hugh Dickins Subject: Re: Folios for 5.15 request - Was: re: Folio discussion recap - Message-ID: References: <20211018231627.kqrnalsi74bgpoxu@box.shutemov.name> <996b3ac4-1536-2152-f947-aad6074b046a@redhat.com> <436a9f9c-d5af-7d12-b7d2-568e45ffe0a0@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 21, 2021 at 09:21:17AM +0200, David Hildenbrand wrote: > On 21.10.21 08:51, Christoph Hellwig wrote: > > FYI, with my block and direct I/O developer hat on I really, really > > want to have the folio for both file and anon pages. Because to make > > the get_user_pages path a _lot_ more efficient it should store folios. > > And to make that work I need them to work for file and anon pages > > because for get_user_pages and related code they are treated exactly > > the same. ++ > Thanks, I can understand that. And IMHO that would be even possible with > split types; the function prototype will simply have to look a little > more fancy instead of replacing "struct page" by "struct folio". :) Possible yes, but might it be a little premature to split them?