Skip to contentSkip to conversation

tools-mm-use-stdboolh-in-page_owner_sortc.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Nov 17, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: tools/mm: use <stdbool.h> in page_owner_sort.c
has been removed from the -mm tree. Its filename was
tools-mm-use-stdboolh-in-page_owner_sortc.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: use <stdbool.h> in page_owner_sort.c
Date: Wed, 15 Oct 2025 17:38:50 +0800

Use standard <stdbool.h> instead of manually defining bool, true and false.

---

 tools/mm/page_owner_sort.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
tools/mm/page_owner_sort.c renamed from tools/mm/page_owner_sort.c~tools-mm-use-stdboolh-in-page_owner_sortc +1 -3
@@ -13,6 +13,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdbool.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
@@ -23,9 +24,6 @@
 #include <linux/types.h>
 #include <getopt.h>
 
-#define bool int
-#define true 1
-#define false 0
 #define TASK_COMM_LEN 16
 
 struct block_list {

_

Patches currently in -mm which might be from [email protected] are