Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1307908

Re: [PATCH v2 1/2] memory-hotplug: don't BUG() in register_memory_resource()

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/2] memory-hotplug: don't BUG() in register_memory_resource()
Date 2016-01-13 00:10 +0100
Message-ID <qQgeC-7OT-9@gated-at.bofh.it> (permalink)
References <qNg1r-5Mg-3@gated-at.bofh.it> <qNg1r-5Mg-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <vkuznets@redhat.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: David Rientjes <rientjes@google.com>
> Cc: Tang Chen <tangchen@cn.fujitsu.com>
> Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
> Cc: Xishi Qiu <qiuxishi@huawei.com>
> Cc: Sheng Yong <shengyong1@huawei.com>
> Cc: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
> Cc: Dan Williams <dan.j.williams@intel.com>
> Cc: David Vrabel <david.vrabel@citrix.com>
> Cc: Igor Mammedov <imammedo@redhat.com>

Acked-by: David Rientjes <rientjes@google.com>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/2] memory-hotplug: don't BUG() in register_memory_resource() Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-01-04 17:20 +0100
  Re: [PATCH v2 1/2] memory-hotplug: don't BUG() in  register_memory_resource() David Rientjes <rientjes@google.com> - 2016-01-13 00:10 +0100

csiph-web