Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3872048pxt; Tue, 10 Aug 2021 13:27:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJK/bKLr7pszIT30x3mC6jBl1ZOoYN2//aIUn9hGD2GpQwlnmW2LmShB5M9dfvLmngk5pe X-Received: by 2002:a05:6402:3094:: with SMTP id de20mr7144008edb.272.1628627258267; Tue, 10 Aug 2021 13:27:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628627258; cv=none; d=google.com; s=arc-20160816; b=X2UndN70g9U54+RytEcJtr+RGIRBqpXnOb0QqAO5sphU4DytH3Db1n21IEbmFMVJud TIhAy1pDoyDdZyLCZrnsoBbk8TWEujy1LrqY24kjW3ntnRjcokOylArqISln8ohCzfhW FoFsF3FOXrPwwG3QkRVkdv8IO/aAqRe5SGnpeyk277QoqKsR4B/8zgF0E0UIhhzD2k/W mmzI0Fh6N0yqcUf9XjnOW8CD5fPSFYHS+VS11Ugo2Y5OT3MtJf49bhHd5X/qfLf1yfgf l7g2WE9FmkZ1vr+EF+X75u5Y384Kob5QPy9ab3AcLArW/YXsUBQLbl1kY5T2DrY7aAv+ MRDQ== 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=CHBYsozolbXpzdoVsHmdC2uUbYB0KswpdxuScQqdhm0=; b=Xi9GMl6RbKstVIH7hM92TQwNY5hh50pQcg93bLQrZSuVp1xKXB609MQFixWe9IQG97 S5UX8yTyZsN1HEBuFgOzJJZXDtN2nNpoXwsDu8klksrocPd7+HwhESnDO+RBZrjBHgYC r+GDuYrKEr1Vj3xeh6rRbRKImhiW5bmqfHdjdriih8qALMHi7N2LEom7XQiDQHhzufy4 7h4bpJrmsWUQXowUemhILeCXnsKpHDiMIY5vr+lEvLZ1zMiN8swtZ7kkaW/8rlqbc3GC yMRSBeW+wES25/0gh4sf3PvVaBG4JEqIcqGd9xIB3dr2HAwenCURje05RZ/daZko6yHB ejgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cpNBe1lF; 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 f12si22412134edl.0.2021.08.10.13.27.14; Tue, 10 Aug 2021 13:27:38 -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=cpNBe1lF; 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 S233153AbhHJUXV (ORCPT + 99 others); Tue, 10 Aug 2021 16:23:21 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:36707 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232968AbhHJUXU (ORCPT ); Tue, 10 Aug 2021 16:23:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628626977; 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=CHBYsozolbXpzdoVsHmdC2uUbYB0KswpdxuScQqdhm0=; b=cpNBe1lFQmkjKKAdERYlfoZ0aCe2KTnd/4GRu7i/Ta6WXZJsrnP6YN1UQb3CfbgBPSTzDy tf546OMfiN+5cgi4C1En3voL6QEUJsGaYDYQrB2nkGTYOn5qVvOg0FYrYT+gmuFMedIMAY GnlvWuvJXu4tnXngCenv9CRDXKZi35k= 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-373-ox03ABrBNRmvQ8aqsM4jNA-1; Tue, 10 Aug 2021 16:22:56 -0400 X-MC-Unique: ox03ABrBNRmvQ8aqsM4jNA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EEBE28799EB; Tue, 10 Aug 2021 20:22:54 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.22.32.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9F86C18A9E; Tue, 10 Aug 2021 20:22:53 +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-42-willy@infradead.org> References: <20210715033704.692967-42-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 041/138] mm/memcg: Convert uncharge_page() to uncharge_folio() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1810338.1628626972.1@warthog.procyon.org.uk> Date: Tue, 10 Aug 2021 21:22:52 +0100 Message-ID: <1810339.1628626972@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Matthew Wilcox (Oracle) wrote: > Use a folio rather than a page to ensure that we're only operating on > base or head pages, and not tail pages. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig Reviewed-by: David Howells