Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3867764pxt; Tue, 10 Aug 2021 13:20:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCOkv4xZBb74fxVyYf4KNIEfp96etcYRroSqCx+GhpYE2j+GwvYRrPeuzCFOJgpqBIyNRf X-Received: by 2002:a02:a117:: with SMTP id f23mr21018212jag.9.1628626821306; Tue, 10 Aug 2021 13:20:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628626821; cv=none; d=google.com; s=arc-20160816; b=kDVx4+JABWgbUITwcHV4a3JNYx8G45pNdGp/A2Yn/og8EQdiqSPyQLU3BYj2m+Q8lJ Ej6kA/9ecQ2/KyNgfpBeYdFW3U2RaYZEy7om4XEmCNd0BP80qw0p1JfnIyHnEwpZk5um kcIoXzwExDOGX9AWcT3i5infh2KmnDGTTftyfQOBxg0tvd4JogsbiSnPHzg0p3Kg45Gv /LEUU4lPXIvxEQGDkcNn3dOiCjJZ7Ra564eaorBt3fEXcXoxxVKZEnakji5sRCxhUrH8 ce8b03fLXurPj3kSxgviVNfc+bqoRGfYo3WxNEuzMeBvB1WVm8lTL1yqO0hEf18EyFXF WFjw== 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=+5WCWcsiWohm6koFEPwxChqvnN4T/a8zTVPw86eJGag=; b=s1OLDzc0zWkQMy0OEGrAEBNOUDoKG0z/kyaAdM7r8phtIndUqTsnAEiqdtwq2hGm3h QmykIWtEqw+yHLEy4VosH8mdsI4szMFynX2GPrdUQ/qIaFNT841gGUAqSuq21W6wz2X5 HpZZct7DAVhg6pY6prkSSuNz0zuUyekqPzRJk43AP56c9+BoonfKXXAsFjAKHxLgbaQJ k/NLf+OCpq38hFbj0e6zG246tUAhfIVdUbFv1q0e9GfqMlVx+WUDaPIVIAxkbaqo0ZG2 SZiSyQ2DxUdsWiA0lEwW4A+ENW1lW08kXS4dPl/pBQVgNt3qpG8D0nRgo6cIAtnoTlOt LkXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CXaSI7WP; 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 r17si14553017jad.53.2021.08.10.13.20.09; Tue, 10 Aug 2021 13:20:21 -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=CXaSI7WP; 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 S232989AbhHJUTU (ORCPT + 99 others); Tue, 10 Aug 2021 16:19:20 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:22249 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231398AbhHJUTS (ORCPT ); Tue, 10 Aug 2021 16:19:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628626735; 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=+5WCWcsiWohm6koFEPwxChqvnN4T/a8zTVPw86eJGag=; b=CXaSI7WP13G8G9NDhczn5MTU64F/hp19Y2LhngEfG9mWE4xEhplqk4MV/E8F5OGSnWf0jN ibjz5cLBA8/JcgIpY8NtpKvyNxFNZ6AgLKflmZJh5+XMLOHt8QP6tMxdCEBMbdX5f6O3SI u6uXJxKmzTja99xKcvMTqDJPjpD1cic= 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-398-Q9r5JzJUNAeoYlM-3-_vPg-1; Tue, 10 Aug 2021 16:18:52 -0400 X-MC-Unique: Q9r5JzJUNAeoYlM-3-_vPg-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 64430CC622; Tue, 10 Aug 2021 20:18:51 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.22.32.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id F40245C1A1; Tue, 10 Aug 2021 20:18:49 +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-40-willy@infradead.org> References: <20210715033704.692967-40-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 , Michal Hocko Subject: Re: [PATCH v14 039/138] mm/memcg: Convert commit_charge() to take a folio MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1810157.1628626729.1@warthog.procyon.org.uk> Date: Tue, 10 Aug 2021 21:18:49 +0100 Message-ID: <1810158.1628626729@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 memcg_data is only set on the head page, so enforce that by > typing it as a folio. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig > Acked-by: Michal Hocko Reviewed-by: David Howells