linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Rapoport <rppt@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Karolina Drobnik <karolinadrobnik@gmail.com>,
	Miaohe Lin <linmiaohe@huawei.com>,
	Mike Rapoport <rppt@kernel.org>,
	Mike Rapoport <rppt@linux.ibm.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] memblock: test suite and a small cleanup
Date: Fri, 25 Mar 2022 10:22:50 +0300	[thread overview]
Message-ID: <Yj1tymvsh0tzkXUV@kernel.org> (raw)

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.

             reply	other threads:[~2022-03-25  7:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-25  7:22 Mike Rapoport [this message]
2022-03-27 20:53 ` [GIT PULL] memblock: test suite and a small cleanup pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yj1tymvsh0tzkXUV@kernel.org \
    --to=rppt@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=karolinadrobnik@gmail.com \
    --cc=linmiaohe@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=rppt@linux.ibm.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).