Thread (29 messages) 29 messages, 6 authors, 2020-03-19

Re: [PATCH v2 8/8] mm/memory_hotplug: allow to specify a default online_type

From: David Hildenbrand <hidden>
Date: 2020-03-17 11:08:45
Also in: linux-hyperv, linux-mm, lkml

On 17.03.20 11:49, David Hildenbrand wrote:
For now, distributions implement advanced udev rules to essentially
- Don't online any hotplugged memory (s390x)
- Online all memory to ZONE_NORMAL (e.g., most virt environments like
  hyperv)
- Online all memory to ZONE_MOVABLE in case the zone imbalance is taken
  care of (e.g., bare metal, special virt environments)

In summary: All memory is usually onlined the same way, however, the
kernel always has to ask user space to come up with the same answer.
E.g., Hyper-V always waits for a memory block to get onlined before
continuing, otherwise it might end up adding memory faster than
hotplugging it, which can result in strange OOM situations. This waiting
s/hotplugging/onlining/

-- 
Thanks,

David / dhildenb
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help