Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1316799

Re: [PATCH v2] mm/debug_pagealloc: Ask users for default setting of debug_pagealloc

From Paul Bolle <pebolle@tiscali.nl>
Newsgroups linux.kernel
Subject Re: [PATCH v2] mm/debug_pagealloc: Ask users for default setting of debug_pagealloc
Date 2016-01-25 16:10 +0100
Message-ID <qUQWe-5Ow-29@gated-at.bofh.it> (permalink)
References <qUNlD-33Y-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On ma, 2016-01-25 at 12:15 +0100, Christian Borntraeger wrote:
> --- a/mm/Kconfig.debug
> +++ b/mm/Kconfig.debug

> +config DEBUG_PAGEALLOC_ENABLE_DEFAULT
> +	bool "Enable debug page memory allocations by default?"
> +        default off

Nit: you apparently meant
	default n

Note that "default off" should also evaluate to "n", which probably
explains why you didn't notice. And "n" is the default anyhow.

So I'm guessing you might as well drop this line.

> +        depends on DEBUG_PAGEALLOC
> +        ---help---
> +	  Enable debug page memory allocations by default? This value
> +	  can be overridden by debug_pagealloc=off|on.
> +
> +	  If unsure say no.

(Really trivial: you start indentation both with spaces and with tabs.
Start with tabs, please.)


Paul Bolle

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] mm/debug_pagealloc: Ask users for default setting of debug_pagealloc Christian Borntraeger <borntraeger@de.ibm.com> - 2016-01-25 12:20 +0100
  Re: [PATCH v2] mm/debug_pagealloc: Ask users for default setting of  debug_pagealloc Paul Bolle <pebolle@tiscali.nl> - 2016-01-25 16:10 +0100

csiph-web