linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Add tests trying to memblock_add() or memblock_reserve() 129th region
@ 2022-08-30  1:49 shaoqin.huang
  2022-08-30  1:49 ` [PATCH 1/3] memblock test: Add test to memblock_add() " shaoqin.huang
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: shaoqin.huang @ 2022-08-30  1:49 UTC (permalink / raw)
  To: rppt
  Cc: Shaoqin Huang, David Hildenbrand, Karolina Drobnik, linux-kernel,
	linux-mm, Rebecca Mckeever

From: Shaoqin Huang <shaoqin.huang@intel.com>

These tests is aimed for testing the memblock_double_array() can work normal. It
will using the dummy_physical_memory_init() to add the valid memory region into
the memblock.memory, and this memory region will be choosed when
memblock_double_array() to allocate the new memory region to double the regions.
Thus the new memory.regions or reserved.regions will occupy the valid memory
region, and the memory.max and reserved.max also being doubled. Check all of
these changed stuff, to make sure it actually success.

Shaoqin Huang (3):
  memblock test: Add test to memblock_add() 129th region
  memblock test: Add test to memblock_reserve() 129th region
  memblock test: Update TODO list

 tools/testing/memblock/TODO              |  11 +-
 tools/testing/memblock/tests/basic_api.c | 169 +++++++++++++++++++++++
 tools/testing/memblock/tests/common.c    |   7 +-
 tools/testing/memblock/tests/common.h    |   3 +
 4 files changed, 179 insertions(+), 11 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH 0/3] Add tests trying to memblock_add() or memblock_reserve() 129th region
@ 2022-08-22  2:33 shaoqin.huang
  2022-08-22  2:33 ` [PATCH 2/3] memblock test: Add test to " shaoqin.huang
  0 siblings, 1 reply; 9+ messages in thread
From: shaoqin.huang @ 2022-08-22  2:33 UTC (permalink / raw)
  To: rppt
  Cc: Shaoqin Huang, Karolina Drobnik, Rebecca Mckeever,
	David Hildenbrand, linux-mm, linux-kernel

From: Shaoqin Huang <shaoqin.huang@intel.com>

These tests is aimed for testing the memblock_double_array() can work normal. It
will using the dummy_physical_memory_init() to add the valid memory region into
the memblock.memory, and this memory region will be choosed when
memblock_double_array() to allocate the new memory region to double the regions.
Thus the new memory.regions or reserved.regions will occupy the valid memory
region, and the memory.max and reserved.max also being doubled. Check all of
these changed stuff, to make sure it actually success.

Shaoqin Huang (3):
  memblock test: Add test to memblock_add() 129th region
  memblock test: Add test to memblock_reserve() 129th region
  memblock test: Update TODO list

 tools/testing/memblock/TODO              |  11 +-
 tools/testing/memblock/tests/basic_api.c | 169 +++++++++++++++++++++++
 tools/testing/memblock/tests/common.c    |   7 +-
 tools/testing/memblock/tests/common.h    |   3 +
 4 files changed, 179 insertions(+), 11 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-01  8:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30  1:49 [PATCH 0/3] Add tests trying to memblock_add() or memblock_reserve() 129th region shaoqin.huang
2022-08-30  1:49 ` [PATCH 1/3] memblock test: Add test to memblock_add() " shaoqin.huang
2022-09-01  8:02   ` Mike Rapoport
2022-09-01  8:35     ` Huang, Shaoqin
2022-08-30  1:49 ` [PATCH 2/3] memblock test: Add test to memblock_reserve() " shaoqin.huang
2022-09-01  8:08   ` Mike Rapoport
2022-09-01  8:43     ` Huang, Shaoqin
2022-08-30  1:49 ` [PATCH 3/3] memblock test: Update TODO list shaoqin.huang
  -- strict thread matches above, loose matches on Subject: below --
2022-08-22  2:33 [PATCH 0/3] Add tests trying to memblock_add() or memblock_reserve() 129th region shaoqin.huang
2022-08-22  2:33 ` [PATCH 2/3] memblock test: Add test to " shaoqin.huang

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).