[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140109150053.GD25897@redhat.com>
Date: Thu, 9 Jan 2014 10:00:53 -0500
From: Vivek Goyal <vgoyal@...hat.com>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: Prarit Bhargava <prarit@...hat.com>, linux-acpi@...r.kernel.org,
Len Brown <lenb@...nel.org>,
linux kernel mailing list <linux-kernel@...r.kernel.org>,
Dave Young <dyoung@...hat.com>,
Kexec Mailing List <kexec@...ts.infradead.org>
Subject: Re: [PATCH] acpi memory hotplug, add parameter to disable memory
hotplug for kexec
On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote:
[..]
> > The system then panics and the kdump/kexec kernel boots. During this boot
> > ACPi is initialized and the kernel (as can be seen above)
>
> Which is a bug. You're not supposed to initialize ACPI twice in a row.
[CC lkml, kexec mailing list, dave young]
It is a fresh instance of kernel booting and it is initializing its data
structures fresh. It is *not* re-initializing ACPI in same kernel.
> > This patchset resolves the problem by adding a kernel parameter,
> > no_memory_hotplug, to disable ACPI memory hotplug. It can be added by default
> > as a parameter to the kexec/kdump kernel so the kernel boots correctly.
>
> This problem is specific to kexec/kdump, so please don't add *generic* command
> line parameters to address this.
>
There are other command line options to solve kdump problems. In general
one might want to disable memory hogplug on the fly even if it is compiled
in the kernel. So it can act as a good debugging aid.
Secondly, it can be specified with memmap=exactmap and mem=X paramters to
make sure no memory is hot added in the system.
So I can see other usages of this parameter. To me it makes sense to have
a separate command line option to disable memory hotplug feature on the
fly.
Thanks
Vivek
--
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