Skip to content
Snippets Groups Projects
Select Git revision
  • 529565dcb1581c9a1e3f6df1c1763ca3e0f0d512
  • openEuler-1.0-LTS default protected
  • openEuler-22.09
  • OLK-5.10
  • openEuler-22.03-LTS
  • openEuler-22.03-LTS-Ascend
  • master
  • openEuler-22.03-LTS-LoongArch-NW
  • openEuler-22.09-HCK
  • openEuler-20.03-LTS-SP3
  • openEuler-21.09
  • openEuler-21.03
  • openEuler-20.09
  • 4.19.90-2210.5.0
  • 5.10.0-123.0.0
  • 5.10.0-60.63.0
  • 5.10.0-60.62.0
  • 4.19.90-2210.4.0
  • 5.10.0-121.0.0
  • 5.10.0-60.61.0
  • 4.19.90-2210.3.0
  • 5.10.0-60.60.0
  • 5.10.0-120.0.0
  • 5.10.0-60.59.0
  • 5.10.0-119.0.0
  • 4.19.90-2210.2.0
  • 4.19.90-2210.1.0
  • 5.10.0-118.0.0
  • 5.10.0-106.19.0
  • 5.10.0-60.58.0
  • 4.19.90-2209.6.0
  • 5.10.0-106.18.0
  • 5.10.0-106.17.0
33 results

mm

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Andi Kleen authored and Linus Torvalds committed
    The node setup code would try to allocate the node metadata in the node
    itself, but that fails if there is no memory in there.
    
    This can happen with memory hotplug when the hotplug area defines an so
    far empty node.
    
    Now use bootmem to try to allocate the mem_map in other nodes.
    
    And if it fails don't panic, but just ignore the node.
    
    To make this work I added a new __alloc_bootmem_nopanic function that
    does what its name implies.
    
    TBD should try to use nearby nodes here.  Currently we just use any.
    It's hard to do it better because bootmem doesn't have proper fallback
    lists yet.
    
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    a8062231
    History