tools-mm-page_owner_sort-add-help-option-support.patch removed from -mm tree
The quilt patch titled
Subject: tools/mm/page_owner_sort: add help option support
has been removed from the -mm tree. Its filename was
tools-mm-page_owner_sort-add-help-option-support.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: Ye Liu <[email protected]>
Subject: tools/mm/page_owner_sort: add help option support
Date: Thu, 16 Oct 2025 13:49:25 +0800
Add -h/--help option to display usage information and improve code style.
Signed-off-by Ye Liu <[email protected]>
Cc SeongJae Park <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
tools/mm/page_owner_sort.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
tools/mm/page_owner_sort.c renamed from tools/mm/page_owner_sort.c~tools-mm-page_owner_sort-add-help-option-support +7 -3
@@ -667,14 +667,15 @@ int main(int argc, char **argv) { "pid", required_argument, NULL, 1 }, { "tgid", required_argument, NULL, 2 }, { "name", required_argument, NULL, 3 }, - { "cull", required_argument, NULL, 4 }, - { "sort", required_argument, NULL, 5 }, + { "cull", required_argument, NULL, 4 }, + { "sort", required_argument, NULL, 5 }, + { "help", no_argument, NULL, 'h' }, { 0, 0, 0, 0}, }; compare_flag =COMP_NO_FLAG ; -while ((opt =getopt_long (argc, argv,"admnpstP" , longopts,NULL )) !=-1 ) +while ((opt =getopt_long (argc, argv,"admnpstPh" , longopts,NULL )) !=-1 )switch (opt) {case 'a' : compare_flag |=COMP_ALLOC ;
@@ -700,6 +701,9 @@ int main(int argc, char **argv)case 'n' : compare_flag |=COMP_COMM ;break ; +case 'h' : +usage (); +exit (0 );case 1 : filter = filter |FILTER_PID ; fc.pids =parse_nums_list (optarg, &fc.pids_size);
_
Patches currently in -mm which might be from [email protected] are