All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] memcontrol-add-ksm_profit-in-cgroup-memoryksm_stat-fix.patch removed from -mm tree
@ 2025-05-13  6:45 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-05-13  6:45 UTC (permalink / raw)
  To: mm-commits, yang.yang29, xu.xin16, wang.yaxin, songmuchun,
	shakeel.butt, roman.gushchin, muchun.song, mhocko, mhocko, lkp,
	hannes, david, chen.haonan2, akpm, akpm


The quilt patch titled
     Subject: memcontrol-add-ksm_profit-in-cgroup-memoryksm_stat-fix
has been removed from the -mm tree.  Its filename was
     memcontrol-add-ksm_profit-in-cgroup-memoryksm_stat-fix.patch

This patch was dropped because it was folded into memcontrol-add-ksm_profit-in-cgroup-memoryksm_stat.patch

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: memcontrol-add-ksm_profit-in-cgroup-memoryksm_stat-fix
Date: Sat May  3 06:37:28 PM PDT 2025

make ksm_process_profit() available on CONFIG_PROCFS=n

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505030429.a2GUiRAz-lkp@intel.com/
Cc: David Hildenbrand <david@redhat.com>
Cc: Haonan Chen <chen.haonan2@zte.com.cn>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Wang Yaxin <wang.yaxin@zte.com.cn>
Cc: xu xin <xu.xin16@zte.com.cn>
Cc: Yang Yang <yang.yang29@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/ksm.c |    2 --
 1 file changed, 2 deletions(-)

--- a/mm/ksm.c~memcontrol-add-ksm_profit-in-cgroup-memoryksm_stat-fix
+++ a/mm/ksm.c
@@ -3268,7 +3268,6 @@ static void wait_while_offlining(void)
 }
 #endif /* CONFIG_MEMORY_HOTREMOVE */
 
-#ifdef CONFIG_PROC_FS
 /*
  * The process is mergeable only if any VMA is currently
  * applicable to KSM.
@@ -3293,7 +3292,6 @@ long ksm_process_profit(struct mm_struct
 	return (long)(mm->ksm_merging_pages + mm_ksm_zero_pages(mm)) * PAGE_SIZE -
 		mm->ksm_rmap_items * sizeof(struct ksm_rmap_item);
 }
-#endif /* CONFIG_PROC_FS */
 
 #ifdef CONFIG_SYSFS
 /*
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

memcontrol-add-ksm_profit-in-cgroup-memoryksm_stat.patch
mm-add-zblock-allocator-fix.patch
mm-add-zblock-allocator-fix-2.patch
mm-add-zblock-allocator-fix-3.patch
mm-zblock-avoid-failing-the-build-fix.patch
revert-x86-mm-remove-unused-__set_memory_prot-fix.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-13  6:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-13  6:45 [folded-merged] memcontrol-add-ksm_profit-in-cgroup-memoryksm_stat-fix.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.