From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DF0453819 for ; Thu, 11 Jan 2024 18:12:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="CWJMMolU" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=L6tb+LUtt/u1QE3HcsntEhQyVLjkGvUUPfsLsWn4vPM=; b=CWJMMolU8eDy4VFyjXBgukvYHp Zkb/jHTQcLXtgsQ7SIKZKkFlR7kIVoJX8HTVLVG2nxR1D36anjxVv0pzqCmHZsRwGxBZaRI84RWst SnTPgcOH6u6hlBDfqTMWyg54oRoPIbNgKFVZIJN3eSwjETyjY7LKMMG4NWEsPz2y5S5w9RuuRkouG RSl3Wmv6RNYwzAUfwYr8d1Ze64e5zSXMOPXscGsEEvZd0+TgOJj4aMDwJyAJrbEChUGNDW0eXyKcq UjiCcJnq5vDwtuvJDorqsd6bDN1QRnZZLrhkHQxacLfk1CelWZXQ8GyyNdzDB0DsuahLr3xkziLPY 9B/qrzNg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1rNzXR-00EWqw-BP; Thu, 11 Jan 2024 18:12:21 +0000 From: "Matthew Wilcox (Oracle)" To: Andrew Morton Cc: "Matthew Wilcox (Oracle)" , Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , cgroups@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 0/4] Convert memcontrol charge moving to use folios Date: Thu, 11 Jan 2024 18:12:15 +0000 Message-Id: <20240111181219.3462852-1-willy@infradead.org> X-Mailer: git-send-email 2.37.1 Precedence: bulk X-Mailing-List: cgroups@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit No part of these patches should change behaviour; all the called functions already convert from page to folio, so this ought to simply be a reduction in the number of calls to compound_head(). Matthew Wilcox (Oracle) (4): memcg: Convert mem_cgroup_move_charge_pte_range() to use a folio memcg: Return the folio in union mc_target memcg: Use a folio in get_mctgt_type memcg: Use a folio in get_mctgt_type_thp mm/memcontrol.c | 88 ++++++++++++++++++++++++++----------------------- 1 file changed, 46 insertions(+), 42 deletions(-) -- 2.43.0