Re: [PATCH v2] mm/hotplug, x86: Disable ARCH_MEMORY_PROBE by default

From: Toshi Kani
Date: Tue Jul 23 2013 - 17:35:46 EST


On Tue, 2013-07-23 at 13:59 -0700, Dave Hansen wrote:
> On 07/23/2013 01:45 PM, Toshi Kani wrote:
> > Dave, is this how you are testing? Do you always specify a valid memory
> > address for your testing?
>
> For the moment, yes.
>
> I'm actually working on some other patches that add the kernel metadata
> for memory ranges even if they're not backed by physical memory. But
> _that_ is just for testing and I'll just have to modify whatever you do
> here in those patches anyway.
>
> It sounds like you're pretty confident that it has no users, so why
> don't you just go ahead and axe it on x86 and config it out completely?
> Folks that need it can just hack it back in.

Well, I am only confident that this interface is not necessary for ACPI
hotplug. As we found you as a user of this interface for testing on a
system without hotplug support, it is prudent to assume that there may
be other users as well. So, I am willing to keep the interface
configurable (with default disabled) for now.

The question is what to do in the next step. There are two options:

1) Make the interface safe to use
2) Remove the config option from x86 Kconfig

Both options will achieve the same goal -- prevent the crash. Once this
first patch gets in, we will see if there are more users on the
interface. Then, we can decide if we go with 1) for keeping it in the
long term, or deprecate with 2).

Thanks,
-Toshi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/