Skip to contentSkip to conversation

+ kmemleak-change-some-global-variables-to-int-v4.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Mar 28, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + kmemleak-change-some-global-variables-to-int-v4.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Fri, 28 Mar 2014 13:22:45 -0700

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

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kmemleak-change-some-global-variables-to-int-v4.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kmemleak-change-some-global-variables-to-int-v4.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
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

kmemleak-free-internal-objects-only-if-therere-no-leaks-to-be-reported.patch kmemleak-allow-freeing-internal-objects-after-kmemleak-was-disabled.patch kmemleak-allow-freeing-internal-objects-after-kmemleak-was-disabled-v4.patch kmemleak-remove-redundant-code.patch kmemleak-change-some-global-variables-to-int.patch kmemleak-change-some-global-variables-to-int-v4.patch kmemcheck-move-hook-into-__alloc_pages_nodemask-for-the-page-allocator.patch linux-next.patch