Re: [PATCH] panic: Make panic_timeout configurable

2013-11-13 Thread Ingo Molnar
* Jason Baron wrote: > Ok - we could have a set function, to unexport the var from the arch > init as: > > void set_panic_timeout_early(int timeout, int arch_default_timeout) > { > if (panic_timeout == arch_default_timeout) > panic_timeout = timeout; > } > > That would work for

Re: [PATCH] panic: Make panic_timeout configurable

2013-11-12 Thread Jason Baron
On 11/11/2013 04:32 AM, Ingo Molnar wrote: > * Jason Baron wrote: > >> The panic_timeout can be set via the command line option 'panic=x', or via >> /proc/sys/kernel/panic, however that is not sufficient when the panic occurs >> before we are able to set up these values. Thus, add a CONFIG_PANIC_T

Re: [PATCH] panic: Make panic_timeout configurable

2013-11-11 Thread Ingo Molnar
* Jason Baron wrote: > The panic_timeout can be set via the command line option 'panic=x', or via > /proc/sys/kernel/panic, however that is not sufficient when the panic occurs > before we are able to set up these values. Thus, add a CONFIG_PANIC_TIMEOUT > so that we can set the desired value fr