Skip to contentSkip to conversation

kmemleak-change-some-global-variables-to-int-v4.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Apr 3, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [folded-merged] kmemleak-change-some-global-variables-to-int-v4.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 03 Apr 2014 14:01:52 -0700

The patch titled
Subject: kmemleak-change-some-global-variables-to-int-v4
has been removed from the -mm tree. Its filename was
kmemleak-change-some-global-variables-to-int-v4.patch

This patch was dropped because it was folded into kmemleak-change-some-global-variables-to-int.patch

------------------------------------------------------
From: Li Zefan <[email protected]>
Subject: kmemleak-change-some-global-variables-to-int-v4

---

 mm/kmemleak.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/kmemleak.c renamed from mm/kmemleak.c~kmemleak-change-some-global-variables-to-int-v4 +1 -1
diff -puN mm/kmemleak.c~kmemleak-change-some-global-variables-to-int-v4 mm/kmemleak.c
@@ -1630,7 +1630,7 @@ static ssize_t kmemleak_write(struct fil
 		return ret;
 
 	if (strncmp(buf, "clear", 5) == 0) {
-		if (atomic_read(&kmemleak_enabled))
+		if (kmemleak_enabled)
 			kmemleak_clear();
 		else
 			__kmemleak_do_cleanup();

_

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

origin.patch kmemleak-free-internal-objects-only-if-therere-no-leaks-to-be-reported.patch kmemleak-allow-freeing-internal-objects-after-kmemleak-was-disabled.patch kmemleak-remove-redundant-code.patch kmemleak-change-some-global-variables-to-int.patch