Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3926054pxt; Tue, 10 Aug 2021 15:01:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxirwmYg6x54J5P0/D4ORCbevB/qbrcB+rfkL6ugrJEBIMMhdA4l/Uxp82Bbu27ET4dtZND X-Received: by 2002:a92:c04f:: with SMTP id o15mr208165ilf.156.1628632918030; Tue, 10 Aug 2021 15:01:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628632918; cv=none; d=google.com; s=arc-20160816; b=Swkv2dB8Ykf5BmQb1jKjeUk3nuL5gpBqHpHFQaTlG4eguaoOxpeDlCODKMoGBV86eK T3KVPMxEgx8GtghpdciFpGUTWKQ8gId7+MD8iqoInp9hu3z2GgSOIh3k1/Ny5lpK6r9B Y31JOS2RgWQFVYsq24J7QG+yXq/zDW5ljnQpU1RnhLKPbd4NjhL5X3sXZyVOO/rxAWhs 77y8ZIGvLrwV1wuc22Uuz1l3IxXQb66eCzrEyz7oiTuRk8e8Nmd85J2ErahWUN9uZMIr yk5nR3TG5rDNJxx18sotyzYc7EiIhKy6viYYd2cdAn7VsHfAXU4C5bxLUgn2aQ1OaK4U +DTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=Jnm1Zmw19qNhqSQJBRvHbG/m+wn8+38ktsT4aKE9dWo=; b=EwqS349dYGvCYi8J8L+a6YEGl8QORgcV3o7TPzv4eNQoD84qoUaWmZP8TvPClTRGLS 1m6MkN6jxDHdnEsrrbVbXWAnIsVqTsKhXlwL83PXZBAGIDxvYhkrLZ/aJd0QjbRcqX0e xYIyXYSDjogoT70JtIPBYacCsqqrzyBR/yzeA8Aw37pMBBb1ThTGDQWwTx3+qys49l54 1IgSs1Q3jtEGqA518dh5gvulKPrsyPntmu5CybMw7s6mDpc4canOiYe8f8YRsonvosa6 upr0bkLi1vI9yel5DB6BBXm+Zu0Hc6H5dSCxH8omVmXcSGfxaaMjOmvnKwo3UPiBJ35N ofQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Q3WPMBJ0; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h15si22506795ile.62.2021.08.10.15.01.42; Tue, 10 Aug 2021 15:01: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=@redhat.com header.s=mimecast20190719 header.b=Q3WPMBJ0; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234434AbhHJWBJ (ORCPT + 99 others); Tue, 10 Aug 2021 18:01:09 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:30016 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231372AbhHJWBJ (ORCPT ); Tue, 10 Aug 2021 18:01:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628632846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Jnm1Zmw19qNhqSQJBRvHbG/m+wn8+38ktsT4aKE9dWo=; b=Q3WPMBJ0byPHSXCxuNHJPYsvVc8womZMu+FdhClmGYgzmRsP+2fKFO88v34Pc28i0zhncz tmpJUhuo7mDEh4859+Cjhacfvp0luoBpEBLmyDRLtNjoip3Q28MmzOxdhIa5zQyMKo1XeR 0s9OyJWEPMWwyd2VShE4HBuZ/9+KOiY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-246-crXEs2ZdOpSi7tyJL34LZw-1; Tue, 10 Aug 2021 18:00:44 -0400 X-MC-Unique: crXEs2ZdOpSi7tyJL34LZw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D9B6A108087A; Tue, 10 Aug 2021 22:00:43 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.22.32.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id B60725C1A1; Tue, 10 Aug 2021 22:00:42 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20210715033704.692967-88-willy@infradead.org> References: <20210715033704.692967-88-willy@infradead.org> <20210715033704.692967-1-willy@infradead.org> To: "Matthew Wilcox (Oracle)" Cc: dhowells@redhat.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH v14 087/138] mm/filemap: Convert mapping_get_entry to return a folio MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1814925.1628632841.1@warthog.procyon.org.uk> Date: Tue, 10 Aug 2021 23:00:41 +0100 Message-ID: <1814926.1628632841@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Matthew Wilcox (Oracle) wrote: > The pagecache only contains folios, so indicate that this is definitely > not a tail page. Shrinks mapping_get_entry() by 56 bytes, but grows > pagecache_get_page() by 21 bytes as gcc makes slightly different hot/cold > code decisions. A net reduction of 35 bytes of text. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig Reviewed-by: David Howells