Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4334936pxt; Wed, 11 Aug 2021 03:46:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykKUiE1c3AAnkUwxeJRbT8yjjr++GWdaPTyOpAL1wfvMczZ/WJdtwwJEySsm6XM3KJUPk4 X-Received: by 2002:aa7:c2d4:: with SMTP id m20mr10725196edp.368.1628678778959; Wed, 11 Aug 2021 03:46:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628678778; cv=none; d=google.com; s=arc-20160816; b=ahVLAmzoXFyAwxaGxi/gNv7tidYy/E62ZfbyzERI50GAlBatt3WTqb1FYk7n9GXR0c Ipv04x8QVc5Ko6kSJZKrnJqRYmOS/G6+JmPSLZyhbt5zPQSzxiCU6CvGwpuAmv+JDyFA Yt2GvSiV8J8Ni0mH3iWD16VdHlfgZg1huUMwCGjiyR7s4GqcIPZqg0mVhoRyy5yuxUut tPB3XdSFhIqlwWiJnDhc384zUAmcbNbBg/jmOjcgusg1vy5npDHybTSQVzyXWerWkmeB OTZdOf5F8hVoNDFm06cOWME2ZZna+kWwqri1Iy8RY3rORxuqFG34KnOcEobB+3869GlV euNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=1mBNvojtoZo2JWl/cCRXvU08N3B2Jnv5Ah6/y1qeLjI=; b=UIuSr0Hk1jO6O5O3YD5x0npqoOH1oHeKxRxgSbRHjW8nF8ryYaY+5X7x7H+ILn+HnL frMvX4/NKMihAW4Oh24FejW4bHfzSB4xrG88eHYoDOPdxTTMplcB9FPVGAkpyErkFKRF GF7WS6E3xqVpPflbIL25M5kjwwcrp9FZF34DN2MlMcUBzdymnaJvpiURVX3vrga7rjnH x4hnrFFoa2n88Bcg7HW7zXEYSuySf4YWHi01VWNu7UsJEyVgEwW1X0CHQTBI451mLQ0j DrABpO5ykIkaBsGELc5dFVO2E9Ri2YOjxT298LLd+hOQp8nbLGYnt9T2UfkeO37mxMOD D77g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="l/8jtUM3"; dkim=neutral (no key) header.i=@suse.cz; 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 x8si4746875edd.516.2021.08.11.03.45.55; Wed, 11 Aug 2021 03:46:18 -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=@suse.cz header.s=susede2_rsa header.b="l/8jtUM3"; dkim=neutral (no key) header.i=@suse.cz; 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 S237148AbhHKKoe (ORCPT + 99 others); Wed, 11 Aug 2021 06:44:34 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:53626 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237088AbhHKKoe (ORCPT ); Wed, 11 Aug 2021 06:44:34 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id C98E420154; Wed, 11 Aug 2021 10:44:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1628678649; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1mBNvojtoZo2JWl/cCRXvU08N3B2Jnv5Ah6/y1qeLjI=; b=l/8jtUM3wVZlQJZngACo4L3ThNn37kqgkAFB1GhWRRGqtXFRUFIH7XoPfXPHZfJle3uS/n uperYESffOXpQMK6YOX8ukkvaVPdfiV91UvVmQkMePmRUfp2ZLOQorqKr8rha7CbYWdKpg KAZRKre6zom0dhFnMyfWjHIqsw74il0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1628678649; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1mBNvojtoZo2JWl/cCRXvU08N3B2Jnv5Ah6/y1qeLjI=; b=f02aGWx/oqWc4qgKOPfBerg4TEKZMx1sW8LBhTlQbfBLsgirLoUzpVbQn+JQju7O5zZVIf ftDE0PN4ypWHurDQ== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id A6230131F5; Wed, 11 Aug 2021 10:44:09 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id 01PsJ/mpE2H5EgAAGKfGzw (envelope-from ); Wed, 11 Aug 2021 10:44:09 +0000 Subject: Re: [PATCH v14 039/138] mm/memcg: Convert commit_charge() to take a folio To: "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig , Michal Hocko References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-40-willy@infradead.org> From: Vlastimil Babka Message-ID: <29af0e12-4294-bd8e-f113-a6df609ab180@suse.cz> Date: Wed, 11 Aug 2021 12:44:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210715033704.692967-40-willy@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/15/21 5:35 AM, 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 Acked-by: Vlastimil Babka