Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1779897pxb; Sat, 14 Nov 2020 01:56:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7y3zIiwRnE5aUOcniLnPcx4TG3mZkMG5ddSrxIXSGQZ0OwHEx9OZlO9EHy5eeNwPus8K0 X-Received: by 2002:a05:6402:1042:: with SMTP id e2mr6856917edu.320.1605347776887; Sat, 14 Nov 2020 01:56:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605347776; cv=none; d=google.com; s=arc-20160816; b=0xIpOFfqNZ0O0iCxZk0whGJloaGMkLiAwGAZP6l4622yfCGRDgl/ypIDwyTU6FgOcb mjiXpqkiYmokM4vrTTdltUIOFJNI4J1vlStCESU10Nsk2xWY/R6PhABsixf7YAS2nq3Y dIESvGzLOAcMFVLtAZ7sepuMZAjIIs4t5Ku8xzUWB3sa52GvxuToh5TFB49U8RfLOMFi eAEv4ap6LKF0d1cMb5K5HKPclwBo4rjFQ5P3ZyAE+dfd0V3KPiXLqj2RJYuniqJT0CJy N3YFcRSt+xTbcP+J1POOkThiObGQ2zOT7PDl0atPmcZvIHQrLm3ga0bDrTGXRRO/Psdg fzWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=BX3cUkv8qhjt/GoG56WSCS2xhEmd846m969X3HnF2yo=; b=axYv5/julHcmEaHOAYnFMFRwg05Oqghe2wif8YGVjhf1XIGywBmfoye2BYdy3WDWgG 3jAmmdbzWdn+kP3n3cwM4zM7DN9feLVGypOqz12D7JPnZpqtVRWh0WfO/xEOjaSwByJo AorvQgsXUpjwpO8Gh7a+HIxsNlfmyx9iZHufIp+mlfX/F2AdnS7Sb8jRkKQL1n90sxn+ l8Vf21AOLV9+h/dwECi7gQYTjP5yZbmRY75dLiHKjWy/VmeSzX5i1dRHFo+mqvOyhGBn eVPlI0OH5XYV+U8dwywy+gwS6CL9vpyrzPKpLkF4oW7KpiExTnn5cmLXPhQvJRWhmdsQ Ht7g== ARC-Authentication-Results: i=1; mx.google.com; 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 g22si8000673edr.89.2020.11.14.01.55.54; Sat, 14 Nov 2020 01:56:16 -0800 (PST) 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; 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 S1726662AbgKNJxL (ORCPT + 99 others); Sat, 14 Nov 2020 04:53:11 -0500 Received: from verein.lst.de ([213.95.11.211]:49857 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726481AbgKNJxK (ORCPT ); Sat, 14 Nov 2020 04:53:10 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 830C468AFE; Sat, 14 Nov 2020 10:53:07 +0100 (CET) Date: Sat, 14 Nov 2020 10:53:07 +0100 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, hughd@google.com, hch@lst.de, hannes@cmpxchg.org, yang.shi@linux.alibaba.com, dchinner@redhat.com, linux-kernel@vger.kernel.org, Jan Kara , William Kucharski Subject: Re: [PATCH v4 01/16] mm: Make pagecache tagged lookups return only head pages Message-ID: <20201114095307.GB19102@lst.de> References: <20201112212641.27837-1-willy@infradead.org> <20201112212641.27837-2-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201112212641.27837-2-willy@infradead.org> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 12, 2020 at 09:26:26PM +0000, Matthew Wilcox (Oracle) wrote: > Pagecache tags are used for dirty page writeback. Since dirtiness is > tracked on a per-THP basis, we only want to return the head page rather > than each subpage of a tagged page. All the filesystems which use huge > pages today are in-memory, so there are no tagged huge pages today. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Jan Kara > Reviewed-by: William Kucharski Looks good, Reviewed-by: Christoph Hellwig