]> git.dujemihanovic.xyz Git - linux.git/commitdiff
Merge tag 'memblock-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 Sep 2024 18:35:19 +0000 (11:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 Sep 2024 18:35:19 +0000 (11:35 -0700)
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

1  2 
arch/s390/mm/init.c
kernel/fork.c
mm/memblock.c
tools/include/linux/compiler.h
tools/include/linux/linkage.h
tools/include/linux/string.h
tools/testing/radix-tree/maple.c

Simple merge
diff --cc kernel/fork.c
Simple merge
diff --cc mm/memblock.c
Simple merge
Simple merge
index a48ff086899cda8804022449db8d24997d4b7eb8,20dee24d7e1b13992e8cade83939c80454b7e2ba..b7183576d8ebdc9aa626fc4a335140939ee557d1
@@@ -1,8 -1,6 +1,10 @@@
  #ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H
  #define _TOOLS_INCLUDE_LINUX_LINKAGE_H
  
+ #include <linux/export.h>
 +#define SYM_FUNC_START(x) .globl x; x:
 +
 +#define SYM_FUNC_END(x)
 +
  #endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */
index 0acb1fc14e19535daef4d43263a23a03c9501ad9,41e7fa7349229ec09fb691688798f863d1b55aab..8499f509f03e71b4669f8543cb36fd9221973032
@@@ -46,7 -48,6 +48,8 @@@ extern char * __must_check skip_spaces(
  
  extern char *strim(char *);
  
 +extern void remove_spaces(char *s);
 +
  extern void *memchr_inv(const void *start, int c, size_t bytes);
+ extern unsigned long long memparse(const char *ptr, char **retptr);
  #endif /* _TOOLS_LINUX_STRING_H_ */
Simple merge