• Linus Torvalds's avatar
    Merge tag 'memblock-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock · aa486552
    Linus Torvalds authored
    Pull memblock updates from Mike Rapoport:
    
     - new memblock_estimated_nr_free_pages() helper to replace
       totalram_pages() which is less accurate when
       CONFIG_DEFERRED_STRUCT_PAGE_INIT is set
    
     - fixes for memblock tests
    
    * tag 'memblock-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
      s390/mm: get estimated free pages by memblock api
      kernel/fork.c: get estimated free pages by memblock api
      mm/memblock: introduce a new helper memblock_estimated_nr_free_pages()
      memblock test: fix implicit declaration of function 'strscpy'
      memblock test: fix implicit declaration of function 'isspace'
      memblock test: fix implicit declaration of function 'memparse'
      memblock test: add the definition of __setup()
      memblock test: fix implicit declaration of function 'virt_to_phys'
      tools/testing: abstract two init.h into common include directory
      memblock tests: include export.h in linkage.h as kernel dose
      memblock tests: include memory_hotplug.h in mmzone.h as kernel dose
    aa486552
init.c 7.77 KB