debug_objects: add boot-parameter toggle to turn object debugging off again
authorKyle McMartin <kyle@redhat.com>
Mon, 2 Mar 2009 01:41:41 +0000 (20:41 -0500)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Mar 2009 11:04:01 +0000 (12:04 +0100)
commit3e8ebb5c433f016dff5824587436642d87fc2e6c
treecc6c7cef8faadc1e61f66cf1241863afca722ebb
parent778ef1e6cbb049c9bcbf405936ee6f2b6e451892
debug_objects: add boot-parameter toggle to turn object debugging off again

While trying to debug why my Atom netbook is falling over booting
rawhide debug-enabled kernels, I stumbled across the fact that we've
been enabling object debugging by default. However, once you default it
to on, you've got no way to turn it back off again at runtime.

Add a boolean toggle to turn it off. I would just make it an int
module_param, however people may already expect the boolean enable
behaviour, so just add an analogue for disabling.

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/kernel-parameters.txt
lib/debugobjects.c