Re: [PATCH v2 00/16] Introduce memblock simulator

From: Mike Rapoport
Date: Wed Feb 09 2022 - 02:30:28 EST


On Wed, 2 Feb 2022 12:02:59 +0100, Karolina Drobnik wrote:
> Memblock is a boot time memory allocator, which allows managing memory
> regions before the actual memory management is initialized. Because it is
> used so early during the booting process, testing and debugging it is
> difficult. As memblock has few kernel dependencies, it is possible to
> simulate its runtime behaviour in userspace after stubbing a couple of
> structs and functions.
>
> [...]

Applied, thanks!

[01/16] tools: Move gfp.h and slab.h from radix-tree to lib
commit: 5a198c3f9b0bf67ede95c1c065b8584b55f3f87a
[02/16] tools/include: Add phys_addr_t to types.h
commit: 4c12918f1086a824082a95f633f501c20ced63a4
[03/16] tools/include: Add _RET_IP_ and math definitions to kernel.h
commit: 826c23e10ee43cc2e65203403e4b606de6388a1f
[04/16] tools/include: Update atomic definitions
commit: 24af9a87ae817400feca949dd4bc94b5779e7481
[05/16] tools/include: Add mm.h file
commit: bad5c52beb213369fa218c88bf2a84e36cf099d9
[06/16] tools/include: Add cache.h stub
commit: f181e1e4009b5a4d52ac7a0870bfa4cb608da71d
[07/16] tools/include: Add io.h stub
commit: e4e9850709f98c6880e289dd6c364ef08a856dea
[08/16] tools/include: Add pfn.h stub
commit: e97362caf658718a63ff08fd557299c583b1f953
[09/16] tools/include: Add debugfs.h stub
commit: ab1f3ebd520caae193725043c70f5762f197241f
[10/16] memblock tests: Add skeleton of the memblock simulator
commit: 46ad27eef5220e3cda0fe263e8a9f785896f7aec
[11/16] memblock tests: Add memblock reset function
commit: d047055e609e23190c4d46899816dc32a6cc297b
[12/16] memblock tests: Add memblock_add tests
commit: c294f4708f0116a0e5a9695a471a0cafd05d2899
[13/16] memblock tests: Add memblock_reserve tests
commit: 7ee605ba936534c001c2b4b0b6f5f925d86fef6b
[14/16] memblock tests: Add memblock_remove tests
commit: ed7b7402f9c9f37fd29267ee3c9a6a3eca8871c0
[15/16] memblock tests: Add memblock_add_node test
commit: be95b2fb44340a00065f3153d75ab6c797c23740
[16/16] memblock tests: Add memblock_free tests
commit: 5b3408a4e5ff7609cc5b06da255b973ca0ab66d1

Best regards,
--
Sincerely yours,
Mike.