From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by kanga.kvack.org (Postfix) with ESMTP id F2526828DF for ; Tue, 12 Jan 2016 18:07:40 -0500 (EST) Received: by mail-pf0-f178.google.com with SMTP id 65so70054346pff.2 for ; Tue, 12 Jan 2016 15:07:40 -0800 (PST) Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com. [2607:f8b0:400e:c00::22a]) by mx.google.com with ESMTPS id h68si39117034pfj.161.2016.01.12.15.07.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jan 2016 15:07:40 -0800 (PST) Received: by mail-pf0-x22a.google.com with SMTP id n128so70050494pfn.3 for ; Tue, 12 Jan 2016 15:07:40 -0800 (PST) Date: Tue, 12 Jan 2016 15:07:38 -0800 (PST) From: David Rientjes Subject: Re: [PATCH v2 1/2] memory-hotplug: don't BUG() in register_memory_resource() In-Reply-To: <1451924251-4189-2-git-send-email-vkuznets@redhat.com> Message-ID: References: <1451924251-4189-1-git-send-email-vkuznets@redhat.com> <1451924251-4189-2-git-send-email-vkuznets@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Vitaly Kuznetsov Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Andrew Morton , Tang Chen , Naoya Horiguchi , Xishi Qiu , Sheng Yong , Zhu Guihua , Dan Williams , David Vrabel , Igor Mammedov On Mon, 4 Jan 2016, Vitaly Kuznetsov wrote: > Out of memory condition is not a bug and while we can't add new memory in > such case crashing the system seems wrong. Propagating the return value > from register_memory_resource() requires interface change. > > Signed-off-by: Vitaly Kuznetsov > Cc: Andrew Morton > Cc: David Rientjes > Cc: Tang Chen > Cc: Naoya Horiguchi > Cc: Xishi Qiu > Cc: Sheng Yong > Cc: Zhu Guihua > Cc: Dan Williams > Cc: David Vrabel > Cc: Igor Mammedov Acked-by: David Rientjes -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org