memcg-hugetlb-remove-memcg-hugetlb-try-commit-cancel-protocol.patch removed from -mm tree
The quilt patch titled
Subject: memcg/hugetlb: remove memcg hugetlb try-commit-cancel protocol
has been removed from the -mm tree. Its filename was
memcg-hugetlb-remove-memcg-hugetlb-try-commit-cancel-protocol.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Joshua Hahn <[email protected]>
Subject: memcg/hugetlb: remove memcg hugetlb try-commit-cancel protocol
Date: Wed, 11 Dec 2024 12:39:51 -0800
This patch fully removes the mem_cgroup_{try, commit, cancel}_charge functions, as well as their hugetlb variants.
---
include/linux/memcontrol.h | 22 ----------- mm/memcontrol.c | 65 +---------------------------------- 2 files changed, 3 insertions(+), 84 deletions(-)
include/linux/memcontrol.h renamed from include/linux/memcontrol.h~memcg-hugetlb-remove-memcg-hugetlb-try-commit-cancel-protocol +0 -22
@@ -620,8 +620,6 @@ static inline bool mem_cgroup_below_min(page_counter_read (&memcg->memory); } -void mem_cgroup_commit_charge (struct folio *folio,struct mem_cgroup *memcg); -int __mem_cgroup_charge (struct folio *folio,struct mm_struct *mm,gfp_t gfp);/**
@@ -646,9 +644,6 @@ static inline int mem_cgroup_charge(strureturn __mem_cgroup_charge (folio, mm, gfp); } -int mem_cgroup_hugetlb_try_charge (struct mem_cgroup *memcg,gfp_t gfp, -long nr_pages); -int mem_cgroup_charge_hugetlb (struct folio * folio,gfp_t gfp); int mem_cgroup_swapin_charge_folio(struct folio *folio, struct mm_struct *mm,
@@ -679,7 +674,6 @@ static inline void mem_cgroup_uncharge_f__mem_cgroup_uncharge_folios (folios); } -void mem_cgroup_cancel_charge (struct mem_cgroup *memcg,unsigned int nr_pages);void mem_cgroup_replace_folio (struct folio *old,struct folio *new);void mem_cgroup_migrate (struct folio *old,struct folio *new);
@@ -1154,23 +1148,12 @@ static inline bool mem_cgroup_below_min(return false; } -static inline void mem_cgroup_commit_charge (struct folio *folio, -struct mem_cgroup *memcg) -{ -} -static inline int mem_cgroup_charge (struct folio *folio,struct mm_struct *mm,gfp_t gfp) {return 0 ; } -static inline int mem_cgroup_hugetlb_try_charge (struct mem_cgroup *memcg, -gfp_t gfp,long nr_pages) -{ -return 0 ; -} -static inline int mem_cgroup_charge_hugetlb (struct folio * folio,gfp_t gfp) {return 0 ;
@@ -1194,11 +1177,6 @@ static inline void mem_cgroup_uncharge_f { } -static inline void mem_cgroup_cancel_charge (struct mem_cgroup *memcg, -unsigned int nr_pages) -{ -} -static inline void mem_cgroup_replace_folio (struct folio *old,struct folio *new) {
mm/memcontrol.c renamed from mm/memcontrol.c~memcg-hugetlb-remove-memcg-hugetlb-try-commit-cancel-protocol +3 -62
89 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are
mm-damon-paddr-improve-readability-of-damon_pa_stat.patch