Skip to content

Commit

Permalink
Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case
Browse files Browse the repository at this point in the history
This patch add a case with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y.

Signed-off-by: Masanari Iida <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
standby24x7 authored and Jonathan Corbet committed Oct 24, 2014
1 parent 47aeedd commit 6808a40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/kmemleak.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ 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.

If CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF are enabled, the kmemleak is
disabled by default. Passing "kmemleak=on" on the kernel command
line enables the function.

Basic Algorithm
---------------

Expand Down

0 comments on commit 6808a40

Please sign in to comment.