[GIT PULL] memblock: test suite and a small cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Linus,

The following changes since commit 754e0b0e35608ed5206d6a67a791563c631cec07:

  Linux 5.17-rc4 (2022-02-13 12:13:30 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v5.18-rc1

for you to fetch changes up to 58ffc34896db2e5e49e6ae6bf8042f85504d84e8:

  memblock tests: Add TODO and README files (2022-03-10 12:19:44 +0200)

----------------------------------------------------------------
memblock: test suite and a small cleanup

* A small cleanup of unused variable in __next_mem_pfn_range_in_zone
* Initial test suite to simulate memblock behaviour in userspace

----------------------------------------------------------------
Karolina Drobnik (26):
      tools: Move gfp.h and slab.h from radix-tree to lib
      tools/include: Add phys_addr_t to types.h
      tools/include: Add _RET_IP_ and math definitions to kernel.h
      tools/include: Update atomic definitions
      tools/include: Add mm.h file
      tools/include: Add cache.h stub
      tools/include: Add io.h stub
      tools/include: Add pfn.h stub
      tools/include: Add debugfs.h stub
      memblock tests: Add skeleton of the memblock simulator
      memblock tests: Add memblock reset function
      memblock tests: Add memblock_add tests
      memblock tests: Add memblock_reserve tests
      memblock tests: Add memblock_remove tests
      memblock tests: Add memblock_add_node test
      memblock tests: Add memblock_free tests
      memblock tests: Fix testing with 32-bit physical addresses
      memblock tests: Split up reset_memblock function
      memblock tests: Add simulation of physical memory
      memblock tests: Add memblock_alloc tests for top down
      memblock tests: Add memblock_alloc tests for bottom up
      memblock tests: Add memblock_alloc_from tests for top down
      memblock tests: Add memblock_alloc_from tests for bottom up
      memblock tests: Add memblock_alloc_try_nid tests for top down
      memblock tests: Add memblock_alloc_try_nid tests for bottom up
      memblock tests: Add TODO and README files

Miaohe Lin (1):
      memblock: __next_mem_pfn_range_in_zone: remove unneeded local variable nid

 MAINTAINERS                                        |    1 +
 mm/memblock.c                                      |    5 +-
 tools/include/linux/atomic.h                       |    2 +
 tools/include/linux/cache.h                        |   10 +
 tools/include/linux/debugfs.h                      |    5 +
 tools/include/linux/gfp.h                          |   28 +
 tools/include/linux/io.h                           |    5 +
 tools/include/linux/kernel.h                       |    6 +
 tools/include/linux/mm.h                           |   42 +
 tools/include/linux/pfn.h                          |   10 +
 tools/{testing/radix-tree => include}/linux/slab.h |   25 +-
 tools/include/linux/types.h                        |   10 +
 tools/lib/slab.c                                   |   38 +
 tools/testing/memblock/.gitignore                  |    4 +
 tools/testing/memblock/Makefile                    |   55 +
 tools/testing/memblock/README                      |  107 ++
 tools/testing/memblock/TODO                        |   28 +
 tools/testing/memblock/asm/dma.h                   |    5 +
 tools/testing/memblock/internal.h                  |   12 +
 tools/testing/memblock/lib/slab.c                  |    9 +
 tools/testing/memblock/linux/init.h                |   34 +
 tools/testing/memblock/linux/kernel.h              |   12 +
 tools/testing/memblock/linux/kmemleak.h            |   18 +
 tools/testing/memblock/linux/memory_hotplug.h      |   19 +
 tools/testing/memblock/linux/mmzone.h              |   35 +
 tools/testing/memblock/linux/printk.h              |   25 +
 tools/testing/memblock/main.c                      |   15 +
 tools/testing/memblock/mmzone.c                    |   20 +
 tools/testing/memblock/scripts/Makefile.include    |   19 +
 tools/testing/memblock/tests/alloc_api.c           |  750 +++++++++++++
 tools/testing/memblock/tests/alloc_api.h           |    9 +
 tools/testing/memblock/tests/alloc_helpers_api.c   |  393 +++++++
 tools/testing/memblock/tests/alloc_helpers_api.h   |    9 +
 tools/testing/memblock/tests/alloc_nid_api.c       | 1174 ++++++++++++++++++++
 tools/testing/memblock/tests/alloc_nid_api.h       |    9 +
 tools/testing/memblock/tests/basic_api.c           |  903 +++++++++++++++
 tools/testing/memblock/tests/basic_api.h           |    9 +
 tools/testing/memblock/tests/common.c              |   48 +
 tools/testing/memblock/tests/common.h              |   34 +
 tools/testing/radix-tree/Makefile                  |    3 +-
 tools/testing/radix-tree/linux.c                   |   27 -
 tools/testing/radix-tree/linux/gfp.h               |   33 -
 42 files changed, 3934 insertions(+), 71 deletions(-)
 create mode 100644 tools/include/linux/cache.h
 create mode 100644 tools/include/linux/debugfs.h
 create mode 100644 tools/include/linux/io.h
 create mode 100644 tools/include/linux/mm.h
 create mode 100644 tools/include/linux/pfn.h
 rename tools/{testing/radix-tree => include}/linux/slab.h (61%)
 create mode 100644 tools/lib/slab.c
 create mode 100644 tools/testing/memblock/.gitignore
 create mode 100644 tools/testing/memblock/Makefile
 create mode 100644 tools/testing/memblock/README
 create mode 100644 tools/testing/memblock/TODO
 create mode 100644 tools/testing/memblock/asm/dma.h
 create mode 100644 tools/testing/memblock/internal.h
 create mode 100644 tools/testing/memblock/lib/slab.c
 create mode 100644 tools/testing/memblock/linux/init.h
 create mode 100644 tools/testing/memblock/linux/kernel.h
 create mode 100644 tools/testing/memblock/linux/kmemleak.h
 create mode 100644 tools/testing/memblock/linux/memory_hotplug.h
 create mode 100644 tools/testing/memblock/linux/mmzone.h
 create mode 100644 tools/testing/memblock/linux/printk.h
 create mode 100644 tools/testing/memblock/main.c
 create mode 100644 tools/testing/memblock/mmzone.c
 create mode 100644 tools/testing/memblock/scripts/Makefile.include
 create mode 100644 tools/testing/memblock/tests/alloc_api.c
 create mode 100644 tools/testing/memblock/tests/alloc_api.h
 create mode 100644 tools/testing/memblock/tests/alloc_helpers_api.c
 create mode 100644 tools/testing/memblock/tests/alloc_helpers_api.h
 create mode 100644 tools/testing/memblock/tests/alloc_nid_api.c
 create mode 100644 tools/testing/memblock/tests/alloc_nid_api.h
 create mode 100644 tools/testing/memblock/tests/basic_api.c
 create mode 100644 tools/testing/memblock/tests/basic_api.h
 create mode 100644 tools/testing/memblock/tests/common.c
 create mode 100644 tools/testing/memblock/tests/common.h
 delete mode 100644 tools/testing/radix-tree/linux/gfp.h
-- 
Sincerely yours,
Mike.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux