Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5335089pxv; Wed, 21 Jul 2021 03:00:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwNW+2zTWLUNYHhedwjyUnL2R2Gssdvaaq+26TblXYnwBHtAjLG6RdR5Fma10pEYrSldxS X-Received: by 2002:a05:6e02:2190:: with SMTP id j16mr24952157ila.144.1626861616921; Wed, 21 Jul 2021 03:00:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626861616; cv=none; d=google.com; s=arc-20160816; b=LstylUiBI5x3niEAxnI0HBOulfy4MnMWNjyd9JjozFaocC1jjRsrefFn1U9Lkk7Xy6 SpQi7oVPfblRzEeA9T8Ht9rnaAPgC/L4w6WNZSNRYj3AdVXltlVKJgSJR4+DvueLy7BC bHJ18X6nR4w7ZqbdendjeAjSUYpbNouqbvpU8wQOPbjPISzMTDyxcEhPIPSkFlw7WTtW WaJ+0bzuQ1hI1UXOcxiw9ytgCoNnQGw/SjeTS3nvQGl2veAkcDqnvD9moUCF99s02Tjs UoqOwTvjjlzF7ScPcI9qS/onDCC08EpjrfBC4B4NY3FkPFtb9B4dxTf1qZetPYIh+f1q 7e+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Gsyv6aIyBax0S4m5hYcoeGTKqJzvw1HrnteXJ0no2DE=; b=avpRmYV7pSBtOJRjZ7AbRoNn7pAFvekhDLdAMOQ037Vg4uhu42TrRsbe0KXdhKj+Hq WKVzLjQXs11VpR8cHpwrLRGKlda4rZ0leLoCrNf4Ba7w+Hjjkokdb0BOuK+Lo2wygqph 2wEAgseK1GLFcpIm5Czn7mVaWJ258V2/rAYKUiU0e0I21WG+AhD29bvJWr484+5cfsEL Tw6LNUy5B4RFgeN9gPrzJ3AS5+UvMsBRRCqqJVilDaoQ8L1b8cjgzez+IkvCZbTWh/94 hkc932GpLzuQ6xZJhyTWIIwh5gll2EwFBlTJr87poi5nDGeVD2wzNepe221V+C/iEVaa iJAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HYr6JNnc; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u10si26623923ilv.84.2021.07.21.03.00.05; Wed, 21 Jul 2021 03:00:16 -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=@kernel.org header.s=k20201202 header.b=HYr6JNnc; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237733AbhGUJIz (ORCPT + 99 others); Wed, 21 Jul 2021 05:08:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:39972 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237490AbhGUJFN (ORCPT ); Wed, 21 Jul 2021 05:05:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DE5B361019; Wed, 21 Jul 2021 09:44:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626860701; bh=O5AzgbU5ka4qZYaeYoTThyMLeQb4DjVHL9gWjDpvgzU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HYr6JNncR4ZTsgvjnZsOxZ767WyicEiploh0Qb0RoOAO9N7WtIaatIevOiwl23BIa 7yoFwdbKJrfSeThrTyAjMFTO/FeDmbdbkDH3QTiBgmU8nhJ5grl1oHmpAhcwQDaxb5 9GL/ywt2clQwVq3cUL2Nj7/mwwysp3gJSwY5txSv7ZFI7BIz30y+l3t1czA2fNXECG Y4qw3BKzSXEPqyCGk2S94CFMCGKiQsGCiZK4jUepaapLrNwy8q/nxb8vkpgynnmcL0 eRsIx0y9xlDmltSZrkZTC1Zzz9vGN2XL95Vpy9sNq27+M4OBAkab1WAskRdfG5W0GY 5Xr54CCt6u1xA== Date: Wed, 21 Jul 2021 12:44:55 +0300 From: Mike Rapoport To: "Matthew Wilcox (Oracle)" Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH v14 043/138] mm/memcg: Convert mem_cgroup_migrate() to take folios Message-ID: References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-44-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210715033704.692967-44-willy@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 15, 2021 at 04:35:29AM +0100, Matthew Wilcox (Oracle) wrote: > Convert all callers of mem_cgroup_migrate() to call page_folio() first. > They all look like they're using head pages already, but this proves it. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig > --- > include/linux/memcontrol.h | 4 ++-- > mm/filemap.c | 4 +++- > mm/memcontrol.c | 35 +++++++++++++++++------------------ > mm/migrate.c | 4 +++- > mm/shmem.c | 5 ++++- > 5 files changed, 29 insertions(+), 23 deletions(-) Acked-by: Mike Rapoport