Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6431391rdb; Tue, 2 Jan 2024 01:16:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+brrCGN1kchQs/R9RohjBk86I0jhM2oPM1uMMkJLijdTCe9QESNm/JhP3t/21OH1NRRhf X-Received: by 2002:a17:902:b715:b0:1d4:7e51:ff73 with SMTP id d21-20020a170902b71500b001d47e51ff73mr9675977pls.106.1704186982243; Tue, 02 Jan 2024 01:16:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704186982; cv=none; d=google.com; s=arc-20160816; b=t2ZWkguad8evYRK+/NN3QjnzG3UjKWWH8TvzgrXImsgOlMHtiyd4S1XQuUoCoZI8f3 Li9Dpo0Ss7UqGQ42WYY1J0qBkydI1a3rWEYnDn6yDlrA3XqJnyaeYzsj9YNc0vN0wWF6 a3w4FasIXtN0a709Qjf8jSs4NJXJo9Hmn2SDbwqXi3BLCzyKjAZSbljn9sllYOa2DppF Zl5EC03LcvXmpvbowol40nH650MEbF9DGNMSxSVmjuuJ0Piy1Mowi6nhoo5GU718kjGR Mp2zGf8ga9hE+c9fZbGApEA4Q05A+ViitzNy8QmRzJCSTTIlOgrZRykkMTEnY7n66S1M vEnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uPWAKkXOKfryzl9yN1UKKSOG50U5J8qvhPQ1ksSNgUo=; fh=9S0geiFBqjMFANgb19nsPhs/K/zAtS66cojeUXYCPPs=; b=JG8qn91dkO6I9eu3y+VUKFeRrLD2SJ+k8qEjSasOD7+8JOD7bUQlNfSPxHnakmBw2P 7dabXCIveThi80k1YrBPLPCgHY3Yy6MQ77h4667ix3XB2Mi+Cak2lQ4U7GA76xZEOgyK Z4wtXQGWJ14UgSu++BzyVkCByji9XIMaFzt/ZUviyQaKmVq7SxSiKUo36moyiRT6o8cP RQFgaTmmCuZpDx47kuNA+D5hzxNbDMMhhpKmAWQ7+Rtg3pai7I6AyscG3rNASRGTm+qw 3pmXgiYLESa/22QD6GOm6TvChOKg8QvxakWzEZdt3PIDLRrQNCQFLsMqEK6tT5liKFsc EWrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HAUtDYOW; spf=pass (google.com: domain of linux-kernel+bounces-14179-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14179-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id v8-20020a170902b7c800b001cfd66f31ccsi19704326plz.55.2024.01.02.01.16.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 01:16:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14179-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HAUtDYOW; spf=pass (google.com: domain of linux-kernel+bounces-14179-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14179-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4E6BDB218F5 for ; Tue, 2 Jan 2024 09:16:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80084E555; Tue, 2 Jan 2024 09:15:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="HAUtDYOW" X-Original-To: linux-kernel@vger.kernel.org Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 410FADF61; Tue, 2 Jan 2024 09:15:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org 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=uPWAKkXOKfryzl9yN1UKKSOG50U5J8qvhPQ1ksSNgUo=; b=HAUtDYOWMfKlLCC7XMD7oOKxjw cnguEIKvS62b8o0SlmshYVvIvr8OZE35XKI2L4ALaq4zgHnVxp2HQ9nllfD3QzqtllRTclMAJq34h P5Tx3LDtMmTBLGZHqbXvrx1zF38bIFPiXm/Ru4jtDIdUNmLU07AZA3iBq2hZVUGPO6W3HprNSkclv eMWzu8qu4hTW1LLtWxRyIAZ4ChuIRJ2uRfqaVdKG6kCGTodIDsZJkkGEd/OuOYouXApBmCJPH/aQk UZQfJyMk5hvlGJiCXF+BFcB5rjB9547OPEyLPE7z/XifJEDJgvjEYPQilGkFcfnjND5DOdvm6pJu2 ZyKNt1zA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1rKaro-009pvp-PQ; Tue, 02 Jan 2024 09:15:20 +0000 Date: Tue, 2 Jan 2024 09:15:20 +0000 From: Matthew Wilcox To: David Howells Cc: Christoph Hellwig , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: bio_vec, bv_page and folios Message-ID: References: <3490948.1704185806@warthog.procyon.org.uk> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3490948.1704185806@warthog.procyon.org.uk> On Tue, Jan 02, 2024 at 08:56:46AM +0000, David Howells wrote: > Hi Christoph, Willy, > > Will bv_page in struct bio_vec ever become a folio pointer rather than I page > pointer? I'm guessing not as it still presumably needs to be able to point to > non-folio pages. My plan for bio_vec is that it becomes phyr -- a physical address + length. No more page or folio reference.