Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3910948pxt; Tue, 10 Aug 2021 14:33:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuzmyLdyKRKZ2hxWDlbtJd9wto0y1b2F33usK4AlRPILCt7vyRRkHQOUqjcd9dwijLfVei X-Received: by 2002:a05:6e02:1b88:: with SMTP id h8mr268129ili.98.1628631194100; Tue, 10 Aug 2021 14:33:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628631194; cv=none; d=google.com; s=arc-20160816; b=PCWJOpiF52GEsauxxcB7zE84o9E5BmLxXM+NDZMs2eAKUIiVvLzezbfZt16wW1Zwmg v7Pu1E56m4Knd1bs43OLyGSWx1Bj7j4q2/LThjtjHgWsT2hh81HPzRToXY5Gv+kaWN3i 4tJbE855Lf6RkvP3u64S2FU6YXQEnGFK5O24t6LuQmn0m7jcBYl0kZzY5/o1oYS5Y5Yd Q4wX+uQXymS9ESrrFd9HkId8+lcg6OkXj9yPlLnIe59ljSa+xvzrYEki/t7fNjEe++Rc pUkelbZ11u9fQvAe9saTdVFRcKq3KNhgj7T9it4L4x5OUYEi5cGHaIyEEyA4KHfY2Rl2 LRhw== 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=6Ty+ydYn1pML2P/TxDV/t1IRGgO3smk0UHuoRcYPGPk=; b=b1tzzc3Veqv5+2bhVe4zvby11pVFgLcpjaMu14rcow5lp/Omn6fUFQYl9jU87+bIr/ AyrSl24AEoOfRUvgZCghjH9ogoBRmgGxES62rrkrD3h/T2zzd3pJVAbc3LXSy9jsuI80 JjDybnA0nlm5eifdIi6qzc81wZhNCo3HX0qcpFQgnZAb5UaNm2mweTfNdxTinicKFkqA ond67vfhHqdZluOni4SEDQqQWvOdaiIijD+v73Ynyi8cQrB0LU6PjsO8Yf++0XobmrMI TWmIu8VNkZZVniMadGadIPvUiR4m5vmAmcvLaRl8GT+xhz5i4+j9pZffjdugUw2KKNS3 nwzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SDsJchlE; 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 a10si23738767ilv.72.2021.08.10.14.33.01; Tue, 10 Aug 2021 14:33:14 -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=SDsJchlE; 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 S233895AbhHJVbA (ORCPT + 99 others); Tue, 10 Aug 2021 17:31:00 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:57296 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234590AbhHJVaz (ORCPT ); Tue, 10 Aug 2021 17:30:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628631032; 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=6Ty+ydYn1pML2P/TxDV/t1IRGgO3smk0UHuoRcYPGPk=; b=SDsJchlEFUFUg8/BHTJV8k/erb/8Mh+P4Gqo5SRenpXjgsE5fgtrNT2v3mMtOzQICPyZcA SOn1Im9YCFA5bU8QJH4Lsi+R5db9tHo3fo7VT6fnWm23DEgT1ycgSnZiHIFCKCX5bDmgoD dqKDXLxnLpL9HkgXHvOPS989m+H0zlQ= 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-449-CAwpK4s2MB2ow40EJgENLA-1; Tue, 10 Aug 2021 17:30:28 -0400 X-MC-Unique: CAwpK4s2MB2ow40EJgENLA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 319ED8799E0; Tue, 10 Aug 2021 21:30:26 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.22.32.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3754C60BF1; Tue, 10 Aug 2021 21:30:25 +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-79-willy@infradead.org> References: <20210715033704.692967-79-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 Subject: Re: [PATCH v14 078/138] mm/filemap: Add folio_mkwrite_check_truncate() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1813577.1628631024.1@warthog.procyon.org.uk> Date: Tue, 10 Aug 2021 22:30:24 +0100 Message-ID: <1813578.1628631024@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Matthew Wilcox (Oracle) wrote: > This is the folio equivalent of page_mkwrite_check_truncate(). > > Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: David Howells