Re: [patch 3/3] kdump: use is_vmcore_usable() and vmcore_unusable() in reserve_elfcorehdr()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Simon Horman
Date: Tuesday, August 5, 2008 - 12:19 am

On Fri, Aug 01, 2008 at 02:08:01PM +1000, Simon Horman wrote:

Hi Vivek,

sorry for not getting back to you sooner. I think that the short answer
to this question is that the code should be protected by
CONFIG_CRASH_DUMP instead of CONFIG_PROC_VMCORE. This should ensure
that the memory where the elfheader lies is not used by the crashkernel,
regardless of if CONFIG_PROC_VMCORE is in effect or not.

I will make a patch for this ASAP.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 3/3] kdump: use is_vmcore_usable() and vmcore_u ..., Simon Horman, (Tue Aug 5, 12:19 am)