From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB352C433E0 for ; Fri, 19 Mar 2021 04:02:13 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id CB95364E38 for ; Fri, 19 Mar 2021 04:02:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB95364E38 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 255FB6B006E; Fri, 19 Mar 2021 00:02:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2052A6B0071; Fri, 19 Mar 2021 00:02:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0CFB26B0072; Fri, 19 Mar 2021 00:02:12 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0041.hostedemail.com [216.40.44.41]) by kanga.kvack.org (Postfix) with ESMTP id E1B2A6B006E for ; Fri, 19 Mar 2021 00:02:11 -0400 (EDT) Received: from smtpin37.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 92DCE8249980 for ; Fri, 19 Mar 2021 04:02:11 +0000 (UTC) X-FDA: 77935276062.37.F033CE0 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf29.hostedemail.com (Postfix) with ESMTP id 01913132 for ; Fri, 19 Mar 2021 04:02:09 +0000 (UTC) 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=3U1SiosJPv5inO8Mg1xTTyoOO2EveSxOVFyiCAwBa/Y=; b=Zi+23hPtHBaycX7b5e4lFzn/gG yUROkuxZhdLj766nJ5AOAu8tXjqbJmntnI7qTeaI/s4xgXuCo+p0A6KGQ08u3BiRMiQViRsYmMN03 OXxoIvBXytT9ussar2z4bSdeIX0Tj/3Sa8uZrce6Pv/ZHKZqTiK9T26s8Z19+gNFcuPvrzXiATYBq 4anvx9pfJOl71BZm7ggnHJOHD6mRtdYiwrDKpRkfY1PHhSfaszHIGHZnvTqMq0lGV+awvjs+gT8z9 Tge+qeYzFchjPzlHl6t9cOywZ9mPAS+1YkRiJ8VfLF1pAvjNvKYc2kxBqNmenVdIv/X0xxcFKdpI2 feeYTlzQ==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lN6KY-003tvb-FV; Fri, 19 Mar 2021 04:01:49 +0000 Date: Fri, 19 Mar 2021 04:01:46 +0000 From: Matthew Wilcox To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v4 00/25] Page folios Message-ID: <20210319040146.GY3420@casper.infradead.org> References: <20210305041901.2396498-1-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210305041901.2396498-1-willy@infradead.org> X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 01913132 X-Stat-Signature: qp4hgmupdnk57g6p5q3qkt9ir5tes5ou Received-SPF: none (infradead.org>: No applicable sender policy available) receiver=imf29; identity=mailfrom; envelope-from=""; helo=casper.infradead.org; client-ip=90.155.50.34 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616126529-179722 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Mar 05, 2021 at 04:18:36AM +0000, Matthew Wilcox (Oracle) wrote: > Our type system does not currently distinguish between tail pages and > head or single pages. This is a problem because we call compound_head() > multiple times (and the compiler cannot optimise it out), bloating the > kernel. It also makes programming hard as it is often unclear whether > a function operates on an individual page, or an entire compound page. I've pushed a new version out here: https://git.infradead.org/users/willy/pagecache.git/shortlog/refs/heads/folio I think it takes into account everyone's comments so far. It even compiles.