All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] alloc_tag-add-accuracy-based-filtering-to-ioctl-fix.patch removed from -mm tree
@ 2026-08-12  3:26 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-08-12  3:26 UTC (permalink / raw)
  To: mm-commits, surenb, souravpanda, kent.overstreet, hao.ge, corbet,
	abhishekbapat, akpm


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 <abhishekbapat@google.com>
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 <abhishekbapat@google.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Hao Ge <hao.ge@linux.dev>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Sourav Panda <souravpanda@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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 abhishekbapat@google.com 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-12  3:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-12  3:26 [folded-merged] alloc_tag-add-accuracy-based-filtering-to-ioctl-fix.patch removed from -mm tree Andrew Morton

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.