[folded-merged] alloc_tag-add-accuracy-based-filtering-to-ioctl-fix.patch removed from -mm tree

Andrew Morton <[email protected]>
Newsgroups org.kernel.vger.mm-commits
Message-ID <[email protected]>
The quilt patch titled
     Subject: alloc_tag-add-accuracy-based-filtering-to-ioctl-fix
has been removed from the -mm tree.  Its filename was
     alloc_tag-add-accuracy-based-filtering-to-ioctl-fix.patch

This patch was dropped because it was folded into alloc_tag-add-accuracy-based-filtering-to-ioctl.patch

------------------------------------------------------
From: Abhishek Bapat <[email protected]>
Subject: alloc_tag-add-accuracy-based-filtering-to-ioctl-fix
Date: Tue, 4 Aug 2026 18:24:14 +0000

Move the `inaccurate` filtering criteria from `struct allocinfo_tag` to
`struct allocinfo_filter`.  validate the introduced feature.

Link: https://lore.kernel.org/e4e49ec4a5960292aeeb9e196526c18dc95228a2.1785867739.git.abhishekbapat@google.com
Signed-off-by: Abhishek Bapat <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Hao Ge <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Kent Overstreet <[email protected]>
Cc: Sourav Panda <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---

 include/uapi/linux/alloc_tag.h |    4 ++--
 mm/alloc_tag.c                 |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

--- a/include/uapi/linux/alloc_tag.h~alloc_tag-add-accuracy-based-filtering-to-ioctl-fix
+++ a/include/uapi/linux/alloc_tag.h
@@ -31,8 +31,6 @@ struct allocinfo_tag {
 	char function[ALLOCINFO_STR_SIZE];
 	char filename[ALLOCINFO_STR_SIZE];
 	__u64 lineno;
-	/* filter criteria only; see allocinfo_counter.accurate for actual accuracy */
-	__u64 inaccurate;
 };
 
 /* The alignment ensures 32-bit compatible interfaces are not broken */
@@ -74,6 +72,8 @@ struct allocinfo_filter {
 	struct allocinfo_tag fields;
 	__u64 min_size;
 	__u64 max_size;
+	/* filter criteria only; see allocinfo_counter.accurate for actual accuracy */
+	__u64 inaccurate;
 };
 
 struct allocinfo_get_at {
--- a/mm/alloc_tag.c~alloc_tag-add-accuracy-based-filtering-to-ioctl-fix
+++ a/mm/alloc_tag.c
@@ -291,7 +291,7 @@ static bool matches_filter(struct codeta
 
 	if (filter->mask & ALLOCINFO_FILTER_MASK_INACCURATE) {
 		inaccurate = !!(ct->flags & CODETAG_FLAG_INACCURATE);
-		if (inaccurate != !!(filter->fields.inaccurate))
+		if (inaccurate != !!(filter->inaccurate))
 			return false;
 	}
 
_

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

alloc_tag-expose-boot-time-compression-configuration.patch
alloc_tag-add-ioctl-filters-to-proc-allocinfo.patch
alloc_tag-add-size-based-filtering-to-ioctl.patch
alloc_tag-add-accuracy-based-filtering-to-ioctl.patch
kselftest-alloc_tag-add-kselftest-for-ioctl-interface.patch
kselftest-alloc_tag-add-kselftest-for-ioctl-interface-fix.patch
kselftest-alloc_tag-extend-the-allocinfo-ioctl-kselftest.patch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.