* [PATCH v4 0/2] tools/mm/page_owner_sort: split filter cleanup and allocation fix
@ 2026-06-16 5:53 Yichong Chen
2026-06-25 4:15 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Yichong Chen @ 2026-06-16 5:53 UTC (permalink / raw)
To: vishal.moola; +Cc: akpm, chenyichong, linux-kernel, linux-mm
Hi,
Split the v3 change into two patches as suggested by Vishal.
Patch 1 renames is_need() to filter_record() and makes the filter path
return explicit results. Patch 2 fixes the per-record allocation leaks.
Changes in v4:
- Split the filter_record() cleanup into a separate patch.
- Mention the is_need() to filter_record() rename in the commit log.
- Add Reviewed-by from Vishal.
Changes in v3:
- Keep the free in add_list(), since incomplete records are not included
in list_size and cannot be reached by the common cleanup path.
- Return explicit error, skip, and match results from filter_record() to
handle a NULL return from get_comm().
Changes in v2:
- Wrap commit message lines to approximately 75 columns.
- Use "Yichong Chen" as the author name.
Yichong Chen (2):
tools/mm/page_owner_sort: return explicit filter results
tools/mm/page_owner_sort: free per-record allocations
tools/mm/page_owner_sort.c | 60 +++++++++++++++++++++++++++++++-------
1 file changed, 49 insertions(+), 11 deletions(-)
--
2.51.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v4 0/2] tools/mm/page_owner_sort: split filter cleanup and allocation fix
2026-06-16 5:53 [PATCH v4 0/2] tools/mm/page_owner_sort: split filter cleanup and allocation fix Yichong Chen
@ 2026-06-25 4:15 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2026-06-25 4:15 UTC (permalink / raw)
To: Yichong Chen; +Cc: vishal.moola, linux-kernel, linux-mm, Ye Liu, Zhen Ni
On Tue, 16 Jun 2026 13:53:59 +0800 Yichong Chen <chenyichong@uniontech.com> wrote:
> Split the v3 change into two patches as suggested by Vishal.
>
> Patch 1 renames is_need() to filter_record() and makes the filter path
> return explicit results. Patch 2 fixes the per-record allocation leaks.
Thanks.
We're now at -rc1 (almost), so expect people to start paying more
attention. Please plan on resending this series next week.
Please try to sort out the message threading - sending these as
separate emails seems to have fooled AI review.
AI review might have found several issues in here, all of them
pre-existing.
https://sashiko.dev/#/patchset/1F4441B54A305CC2+20260616055401.1570629-2-chenyichong@uniontech.com
https://sashiko.dev/#/patchset/B8742494160D4CAA+20260616055401.1570629-3-chenyichong@uniontech.com
Ye Liu and Zhen Ni (both cc'ed) have been working on page_owner
recently, so please let's keep them informed - they may be interested
in your changes and in the possible issues which Sashiko has
identified.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-25 4:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-16 5:53 [PATCH v4 0/2] tools/mm/page_owner_sort: split filter cleanup and allocation fix Yichong Chen
2026-06-25 4:15 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox