mbox series

[v3,0/7] memblock: cleanup

Message ID 20240507075833.6346-1-richard.weiyang@gmail.com (mailing list archive)
Headers show
Series memblock: cleanup | expand

Message

Wei Yang May 7, 2024, 7:58 a.m. UTC
Changes in v3:

* separate case memblock_reserve_all_locations_check()
* add test description for memblock_reserve_many_may_conflict_check()
* drop patch 4

Changes in v2:

* remove the two round reduction patch
* add 129th memory block to memblock.reserved
* add memblock_reserve_many_may_conflict_check()
* two new patch at the end

Wei Yang (7):
  memblock tests: add memblock_reserve_all_locations_check()
  memblock tests: add memblock_reserve_many_may_conflict_check()
  mm/memblock: fix comment for memblock_isolate_range()
  memblock tests: add memblock_overlaps_region_checks
  mm/memblock: return true directly on finding overlap region
  mm/memblock: use PAGE_ALIGN_DOWN to get pgend in free_memmap
  mm/memblock: default region's nid may be MAX_NUMNODES

 mm/memblock.c                            |  11 +-
 tools/include/linux/mm.h                 |   1 +
 tools/testing/memblock/tests/basic_api.c | 306 +++++++++++++++++++++++
 tools/testing/memblock/tests/common.c    |   4 +-
 tools/testing/memblock/tests/common.h    |   4 +
 5 files changed, 319 insertions(+), 7 deletions(-)

Comments

Mike Rapoport May 8, 2024, 5:35 a.m. UTC | #1
From: Mike Rapoport (IBM) <rppt@kernel.org>

On Tue, 07 May 2024 07:58:26 +0000, Wei Yang wrote:
> Changes in v3:
> 
> * separate case memblock_reserve_all_locations_check()
> * add test description for memblock_reserve_many_may_conflict_check()
> * drop patch 4
> 
> Changes in v2:
> 
> [...]

Applied to for-6.11 branch of memblock.git tree, thanks!

[1/7] memblock tests: add memblock_reserve_all_locations_check()
      commit: a5ccbf9e6be63678c9324761c20c6a1afa3580b0
[2/7] memblock tests: add memblock_reserve_many_may_conflict_check()
      commit: d70ec404376ddd280401bf728b85be854ab37a2f
[3/7] mm/memblock: fix comment for memblock_isolate_range()
      commit: a148689e15e7215e502742d61d7eaa56016759d2
[4/7] memblock tests: add memblock_overlaps_region_checks
      commit: f23de2662dd0937b2c122b8db223166d5339e084
[5/7] mm/memblock: return true directly on finding overlap region
      commit: 19680b0a91222923efdedc934b21440d6207b071
[6/7] mm/memblock: use PAGE_ALIGN_DOWN to get pgend in free_memmap
      commit: c0c7cc4efa8ae089b59358c1433c0a7c8a40defe
[7/7] mm/memblock: default region's nid may be MAX_NUMNODES
      commit: 9b725e3569d8965884ac984bc05976861dee9e34

tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock
branch: for-6.11

--
Sincerely yours,
Mike.