Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3870218pxt; Tue, 10 Aug 2021 13:24:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmMBitFi6SjEGY0jVc0I2LbJ98t8rapvlTDv0A2FhyAFwR4WyyteEbZLog2Oi4MLTWgsyz X-Received: by 2002:a5d:9d57:: with SMTP id k23mr149901iok.55.1628627057884; Tue, 10 Aug 2021 13:24:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628627057; cv=none; d=google.com; s=arc-20160816; b=dTNCJXFfVWfQBF7Ny/TttTEyKBKnLSgO+M3EiaX9Oydw9hEIp09A96gPAQakFajsyr MIlpqpJld2hcztV9CTb9nZU94D7IQwL+RJaQdsEtiOHy1iAGS1jj3snA1biF1vsD98O/ Jf4XUSUqBFvyOvZ2nzIUag2E+HsMHOH3qfXmA3I4/8uQPuj7QQr7YHJCQjzxv4SkP1so 4+PyeshV/UIZbHEqmTSj+D9J1jtC4U9ZCXQE4m3ms0BXGtZlyycI7fxJkyxt9TGcTFOn qE7QxL1OhswyBw6rurEWLRv1jooPmNZTCWGenMZjlUr94VB/+5/sgXKo52MVS+svVxMs i5Bg== 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=sCig48GNPK9nhXdx1sI4bElTHz9Voiv5w7P6BIVkF5A=; b=SY4sW8sg2N+tHzUejJEnnUb7K4zI7vR+AWPYrhFC+25I66uLTTtt9HZeuRqovV+gWQ xBDqXL7E9hgccIxfHqLt4Dqu9hYSP0Uc/hCy/jFK0y/0Aqprz/ERyRGi1D+UL3wrrFpi e1oemRyY/Pn2iSFPPUH11D9hGgStHI48nvF2F8yhxaRxH6DR+xplKx8xdx3jV5obs/2e sF4o24JAgCcA8rnF1aE1lNh04n6Ccq6qA0vhrNwXkjrThpB6h/MwORNT6ejreX5DLkB1 1SNlW1Yr+O9fEhO/A7S1ReIJWvpWOYLZbdHnaTaBCZLj2BDxP4X+DRbNpEIxm6RGe/PJ aGiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Xrq/iK9d"; 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 n14si26846770ilk.78.2021.08.10.13.24.06; Tue, 10 Aug 2021 13:24:17 -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="Xrq/iK9d"; 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 S232919AbhHJUWD (ORCPT + 99 others); Tue, 10 Aug 2021 16:22:03 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:50122 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229788AbhHJUWC (ORCPT ); Tue, 10 Aug 2021 16:22:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628626899; 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=sCig48GNPK9nhXdx1sI4bElTHz9Voiv5w7P6BIVkF5A=; b=Xrq/iK9dgzbveKI2EHiJ4SFLM0Jw1AVSkuMZpUTv/AkawSpFrdFtDm6zxJmdRr4A9Tj77j KSov9n1XY8/c2Ul3Da5IshTHHE5NIfiZBnW9YpEV5i1+htVBeW661m+uEe6yVmfMPH1kLX nK1jkjRvOiDEzA6mDGPy+40ca6myySw= 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-413-24nerJQIOQusUkF165CYHA-1; Tue, 10 Aug 2021 16:21:38 -0400 X-MC-Unique: 24nerJQIOQusUkF165CYHA-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 50993CC62E; Tue, 10 Aug 2021 20:21:37 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.22.32.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3E7E769CBB; Tue, 10 Aug 2021 20:21:36 +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-41-willy@infradead.org> References: <20210715033704.692967-41-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 040/138] mm/memcg: Convert mem_cgroup_charge() to take a folio MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1810282.1628626895.1@warthog.procyon.org.uk> Date: Tue, 10 Aug 2021 21:21:35 +0100 Message-ID: <1810283.1628626895@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: > Convert all callers of mem_cgroup_charge() to call page_folio() on the > page they're currently passing in. Many of them will be converted to > use folios themselves soon. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig Reviewed-by: David Howells