From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,yang.yang29@zte.com.cn,xu.xin16@zte.com.cn,wang.yaxin@zte.com.cn,songmuchun@bytedance.com,shakeel.butt@linux.dev,roman.gushchin@linux.dev,muchun.song@linux.dev,mhocko@suse.com,mhocko@kernel.org,lkp@intel.com,hannes@cmpxchg.org,david@redhat.com,chen.haonan2@zte.com.cn,akpm@linux-foundation.org,akpm@linux-foundation.org
Subject: [folded-merged] memcontrol-add-ksm_profit-in-cgroup-memoryksm_stat-fix.patch removed from -mm tree
Date: Mon, 12 May 2025 23:45:03 -0700 [thread overview]
Message-ID: <20250513064503.98075C4CEE4@smtp.kernel.org> (raw)
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
reply other threads:[~2025-05-13 6:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250513064503.98075C4CEE4@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=chen.haonan2@zte.com.cn \
--cc=david@redhat.com \
--cc=hannes@cmpxchg.org \
--cc=lkp@intel.com \
--cc=mhocko@kernel.org \
--cc=mhocko@suse.com \
--cc=mm-commits@vger.kernel.org \
--cc=muchun.song@linux.dev \
--cc=roman.gushchin@linux.dev \
--cc=shakeel.butt@linux.dev \
--cc=songmuchun@bytedance.com \
--cc=wang.yaxin@zte.com.cn \
--cc=xu.xin16@zte.com.cn \
--cc=yang.yang29@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.