[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080421151405.GI5474@elte.hu>
Date: Mon, 21 Apr 2008 17:14:05 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Mel Gorman <mel@....ul.ie>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/4] Add a basic debugging framework for memory
initialisation
* Mel Gorman <mel@....ul.ie> wrote:
> +config DEBUG_MEMORY_INIT
> + bool "Debug memory initialisation"
> + depends on DEBUG_KERNEL
> + help
> + Enable this to turn on debug checks during memory initialisation. By
> + default, sanity checks will be made on the memory model and
> + information provided by the architecture. What level of checking
> + made and verbosity during boot can be set with the
> + mminit_debug_level= command-line option.
> +
> + If unsure, say N
should be "default y" - and perhaps only disable-able on
CONFIG_EMBEDDED. We generally want such bugs to pop up as soon as
possible, and the sanity checks should only go away if someone
specifically aims for lowest system footprint.
the default loglevel for debug printouts might deserve another debug
option - but the core checks should always be included, and _errors_
should always be printed out.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists