2019-09-26 09:37:20

by Jeremy Cline

[permalink] [raw]
Subject: [PATCH] docs: kmemleak: DEBUG_KMEMLEAK_EARLY_LOG_SIZE changed names

Commit c5665868183f ("mm: kmemleak: use the memory pool for early
allocations") renamed CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE to
CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE. Update the documentation reference
to reflect that.

Signed-off-by: Jeremy Cline <[email protected]>
---
Documentation/dev-tools/kmemleak.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/dev-tools/kmemleak.rst b/Documentation/dev-tools/kmemleak.rst
index 3621cd5e1eef..3a289e8a1d12 100644
--- a/Documentation/dev-tools/kmemleak.rst
+++ b/Documentation/dev-tools/kmemleak.rst
@@ -69,7 +69,7 @@ the kernel command line.

Memory may be allocated or freed before kmemleak is initialised and
these actions are stored in an early log buffer. The size of this buffer
-is configured via the CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE option.
+is configured via the CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE option.

If CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF are enabled, the kmemleak is
disabled by default. Passing ``kmemleak=on`` on the kernel command
--
2.21.0


2019-09-26 10:56:27

by Catalin Marinas

[permalink] [raw]
Subject: Re: [PATCH] docs: kmemleak: DEBUG_KMEMLEAK_EARLY_LOG_SIZE changed names

On Wed, Sep 25, 2019 at 02:31:14PM +0000, Jeremy Cline wrote:
> Commit c5665868183f ("mm: kmemleak: use the memory pool for early
> allocations") renamed CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE to
> CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE. Update the documentation reference
> to reflect that.
>
> Signed-off-by: Jeremy Cline <[email protected]>

I forgot about this. Thanks.

Acked-by: Catalin Marinas <[email protected]>

2019-10-01 12:53:13

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: kmemleak: DEBUG_KMEMLEAK_EARLY_LOG_SIZE changed names

On Wed, 25 Sep 2019 15:32:10 +0100
Catalin Marinas <[email protected]> wrote:

> On Wed, Sep 25, 2019 at 02:31:14PM +0000, Jeremy Cline wrote:
> > Commit c5665868183f ("mm: kmemleak: use the memory pool for early
> > allocations") renamed CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE to
> > CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE. Update the documentation reference
> > to reflect that.
> >
> > Signed-off-by: Jeremy Cline <[email protected]>
>
> I forgot about this. Thanks.
>
> Acked-by: Catalin Marinas <[email protected]>

Applied, thanks.

jon