lkml.org 
[lkml]   [2013]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] mm/hotplug, x86: Disable ARCH_MEMORY_PROBE by default
From
Date
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



\
 
 \ /
  Last update: 2013-07-24 00:21    [W:0.669 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site