Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:58878 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966767AbeE2UoG (ORCPT ); Tue, 29 May 2018 16:44:06 -0400 Date: Tue, 29 May 2018 13:44:05 -0700 From: akpm@linux-foundation.org To: aryabinin@virtuozzo.com, david@redhat.com, dvyukov@google.com, glider@google.com, mm-commits@vger.kernel.org, stable@vger.kernel.org Subject: [merged] kasan-fix-memory-hotplug-during-boot.patch removed from -mm tree Message-ID: <20180529204405.fmXuBK2SN%akpm@linux-foundation.org> Sender: stable-owner@vger.kernel.org List-ID: The patch titled Subject: kasan: fix memory hotplug during boot has been removed from the -mm tree. Its filename was kasan-fix-memory-hotplug-during-boot.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: David Hildenbrand Subject: kasan: fix memory hotplug during boot Using module_init() is wrong. E.g. ACPI adds and onlines memory before our memory notifier gets registered. This makes sure that ACPI memory detected during boot up will not result in a kernel crash. Easily reproducible with QEMU, just specify a DIMM when starting up. Link: http://lkml.kernel.org/r/20180522100756.18478-3-david@redhat.com Fixes: 786a8959912e ("kasan: disable memory hotplug") Signed-off-by: David Hildenbrand Acked-by: Andrey Ryabinin Cc: Alexander Potapenko Cc: Dmitry Vyukov Cc: Signed-off-by: Andrew Morton --- mm/kasan/kasan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/kasan/kasan.c~kasan-fix-memory-hotplug-during-boot mm/kasan/kasan.c --- a/mm/kasan/kasan.c~kasan-fix-memory-hotplug-during-boot +++ a/mm/kasan/kasan.c @@ -898,5 +898,5 @@ static int __init kasan_memhotplug_init( return 0; } -module_init(kasan_memhotplug_init); +core_initcall(kasan_memhotplug_init); #endif _ Patches currently in -mm which might be from david@redhat.com are