Re: [PATCH] mm: add restriction when memory_hotplug config enable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2016/8/2 3:54, Andrew Morton wrote:
> On Mon, 1 Aug 2016 23:00:51 +0800 zhongjiang <zhongjiang@xxxxxxxxxx> wrote:
>
>> From: zhong jiang <zhongjiang@xxxxxxxxxx>
>>
>> At present, It is obvious that memory online and offline will fail
>> when KASAN enable,
> huh, I didn't know that.  What's the problem and are there plans to fix it?
   when I  test the memory hotplug function.  The memory online and offline always fails.
   because I forget the turn off  the KASAN config.  I know it is not compatible with hotplug.
   In fact,  but I always forget to do so.  
>>  therefore, it is necessary to add the condition
>> to limit the memory_hotplug when KASAN enable.
>>
>> Signed-off-by: zhong jiang <zhongjiang@xxxxxxxxxx>
>> ---
>>  mm/Kconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/mm/Kconfig b/mm/Kconfig
>> index 3e2daef..f6dd77e 100644
>> --- a/mm/Kconfig
>> +++ b/mm/Kconfig
>> @@ -187,6 +187,7 @@ config MEMORY_HOTPLUG
>>  	bool "Allow for memory hot-add"
>>  	depends on SPARSEMEM || X86_64_ACPI_NUMA
>>  	depends on ARCH_ENABLE_MEMORY_HOTPLUG
>> +	depends on !KASAN
>>  
>>  config MEMORY_HOTPLUG_SPARSE
>>  	def_bool y
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>
>
>


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]