Skip to contentSkip to conversation

mm-kmemleak-drop-wrong-comment.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 13, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: kmemleak: drop wrong comment
has been removed from the -mm tree. Its filename was
mm-kmemleak-drop-wrong-comment.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: Luiz Capitulino <[email protected]>
Subject: mm: kmemleak: drop wrong comment
Date: Wed, 30 Apr 2025 16:59:46 -0400

Newly created objects have object->count == 0, so the comment is incorrect. Just drop it.

---

 mm/kmemleak.c |    2 --
 1 file changed, 2 deletions(-)
mm/kmemleak.c renamed from mm/kmemleak.c~mm-kmemleak-drop-wrong-comment +0 -2
@@ -322,8 +322,6 @@ static void hex_dump_object(struct seq_f
  *		sufficient references to it (count >= min_count)
  * - black - ignore, it doesn't contain references (e.g. text section)
  *		(min_count == -1). No function defined for this color.
- * Newly created objects don't have any color assigned (object->count == -1)
- * before the next memory scan when they become white.
  */
 static bool color_white(const struct kmemleak_object *object)
 {

_

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