Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp341679pxj; Thu, 27 May 2021 01:11:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhxqnrccrelxdwR3noT/9NUkvxjRqqNK0Lnk76/FDzpsnuWTT/SGMxHYTIf56GFdwPQvp6 X-Received: by 2002:a05:6402:3511:: with SMTP id b17mr2730582edd.71.1622103118117; Thu, 27 May 2021 01:11:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622103118; cv=none; d=google.com; s=arc-20160816; b=r4kx5OKhAiOOfRVC0LIamtGMzRFSjvpUwu3Vje5tyjxcLOl0byC4Op5X5XF1bYO4cN 2VSJkdtY4MdltgIT5P/5MQTQ+aj2BCgnqvAgJyrvB3nlEWhdmEte3emJBkCLqSShF0E6 71Jq/T9u2IqGtxQk3ebK8YI5y43EqVD5b6AGTamnzHY1nXs3f/t1ZcjKeivK9b2swYx3 3a7VSgTzjeV7HUUQ4Wrm4ujs1tCTcjm1umQg0aumoX4/itjxov9eYMrZA5/YxWxF6oDN b3/Cnqg/frRUhqSYiIFG3evJay+LIfBmYdTYHr55fCT+zxGus0VBPXohQaftY7+U0Diy tq0g== 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=BSxyA6mHD0RmgeugIFmOasLIdKwDRkfeOVlBlTrLl10=; b=W1mZijHAHhPoAPijV1JkkNjbDwYA1shyRGeGu+XwY91p/ZW0s8wsSauGnP1iTyTHfJ rY3zIRNXLmQ4efLfLmfkGFnI46SDUq4ZHzyFfni41rbND47r63AASYlpROW1nFYyJ1q3 tN3lWUk4qeZi8MRFoMsk6FkIRiGcAqOwvlRQAiY5A6hxdHU3T1hcBWT/c3s3zmzzoobA MLMDnazWWd6jZcEFEx9eI9s+DInXj11yte/oF9oq7KOcHy3cD3std3ao1s5bznhDcyPd ib0StLcFPKHLOA4K9vqcDvyYvnwMGB18n570f4aivYQ/071kP9v7ctuwrIxWq/dCZzD9 vENw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=EyYpDORZ; 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 ar9si2041929ejc.663.2021.05.27.01.11.34; Thu, 27 May 2021 01:11:58 -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=@infradead.org header.s=casper.20170209 header.b=EyYpDORZ; 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 S235176AbhE0ILB (ORCPT + 99 others); Thu, 27 May 2021 04:11:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235054AbhE0ILA (ORCPT ); Thu, 27 May 2021 04:11:00 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2912DC061574; Thu, 27 May 2021 01:09:28 -0700 (PDT) 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=BSxyA6mHD0RmgeugIFmOasLIdKwDRkfeOVlBlTrLl10=; b=EyYpDORZHnC1ZDNMaNueS+nB22 bjb+BAkBhFfMqA1YB8BvolwZmG9mP0Fka4sd4Kg8iuy9PJaP/2KkO3GJsHeKjE9WAXOHhArV2WhYa CSQkU4fFeu1aJnXjSukT8z0+6xo75HNsOa+C4pYXeCQSuEBH/yhtPt1oH7jlz1jX0DUipTdUoIk6b bztDe5wHneFBWVMQ+Ls/ZPd/JjIaP2AceqOIoNV6nfJICsLnZqmu+ruZkg1i9jah6fmkoJQexNDZl l6nn6rg/1FDD27nhTzKoMqNEuJOBqi/Q/XqgTEI1v9ZYEq4AJUIDZPv+swFnmZ1o9/JPJk9AYJEVi CX0M3m8A==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lmB4o-005Jh8-P9; Thu, 27 May 2021 08:09:13 +0000 Date: Thu, 27 May 2021 09:09:10 +0100 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jeff Layton Subject: Re: [PATCH v10 01/33] mm: Introduce struct folio Message-ID: References: <20210511214735.1836149-1-willy@infradead.org> <20210511214735.1836149-2-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210511214735.1836149-2-willy@infradead.org> 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 Tue, May 11, 2021 at 10:47:03PM +0100, Matthew Wilcox (Oracle) wrote: > A struct folio is a new abstraction to replace the venerable struct page. > A function which takes a struct folio argument declares that it will > operate on the entire (possibly compound) page, not just PAGE_SIZE bytes. > In return, the caller guarantees that the pointer it is passing does > not point to a tail page. I still hate the overlay that must match struct page with passion and think it is going to come back and bytes us. But we really need to get out of the compound page mess and move forward with large page suppot in the page cache. So: Reluctantly-Acked-by: Christoph Hellwig