lkml.org 
[lkml]   [2008]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] Add a basic debugging framework for memory initialisation

* Mel Gorman <mel@csn.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


\
 
 \ /
  Last update: 2008-04-21 17:17    [W:0.987 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site