Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1090976pxf; Thu, 18 Mar 2021 21:03:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiYEV4nrPiKelyj/p4XkMkXMG1ipDT/CYIIFmMC+PEEzFZxWA5OdEq+RleCUUKMuXxh2La X-Received: by 2002:a17:906:5607:: with SMTP id f7mr2084062ejq.262.1616126635449; Thu, 18 Mar 2021 21:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616126635; cv=none; d=google.com; s=arc-20160816; b=S0ta+wGXFdGbbw6QygMVkJ6MAEeeHIb2gsouNwSfbgrBawzJNmBdIq5bBCiEHivd1O AB4oPdh09mNXNLJ35SZXwfv3EmPj+5UIGL9dfn6NgMGqYq7nUBqB+qgbeVCD6u55mV/+ WIGp8KsZhFcAooI33P6hP5TfieSGHcB1561vnXmxZGiZHaGY0nNrlzxwNt+MbF1bxAJH 1d4P9h0IFg6d1kW4EKd9X05ZhkyVIrTydC4s+CZ7hxuZQJqwoo5HToxoJTTEEd1xIOsU 9SsRu+N5cY741WA848GKgXy/ME31YB5BdIaD6HxDB/OyBlGf56A4kiTxVFUrSik6Pfdi IaQw== 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=3U1SiosJPv5inO8Mg1xTTyoOO2EveSxOVFyiCAwBa/Y=; b=yrJZp7GFlL+3NO5l7zGbc569mRttmnKsQSoeR1vcADH7H5aFMZjY6eWMf/3yboskOw jWyrdpS61RixO9g8YKNmMCop3DUvipKINmZuGP8bIl6pc3XzB+i3ImktLfDKtEJseCw2 id+tJ5YfJ7/yXVvokZw2/ymIT/tE3TAmkWoftJaGfqG3IWI84utbp1wC2Jnu74UWnqUF CDAxr5VbivLQ6UPVbt1IIrOm3OwOsX1mDCfZAL9gi10feXFMNtGRoFTG7Yyg49vNcuHq qFYO+wYRtluadn4iB/q3kD/igbw0VuWG4ObmvEcgwJc3W/eIx4wgVU/aMj/mcThdNTgM MAEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Zi+23hPt; 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 bw19si3031893ejb.85.2021.03.18.21.03.33; Thu, 18 Mar 2021 21:03:55 -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=Zi+23hPt; 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 S233508AbhCSECS (ORCPT + 99 others); Fri, 19 Mar 2021 00:02:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233612AbhCSECM (ORCPT ); Fri, 19 Mar 2021 00:02:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C005BC06174A; Thu, 18 Mar 2021 21:02:09 -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=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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.