grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 5/6] Add memtool module with memory allocation stress-test


From: Daniel Kiper
Subject: Re: [PATCH v2 5/6] Add memtool module with memory allocation stress-test
Date: Tue, 13 Dec 2022 17:24:20 +0100
User-agent: NeoMutt/20170113 (1.7.2)

On Thu, Dec 01, 2022 at 04:12:00PM -0500, Stefan Berger wrote:
> From: Daniel Axtens <dja@axtens.net>
>
> When working on memory, it's nice to be able to test your work.
>
> Add a memtest module. When compiled with --enable-mm-debug, it exposes
> 3 commands:
>
>  * lsmem - print all allocations and free space in all regions
>  * lsfreemem - print free space in all regions
>
>  * stress_big_allocs - stress test large allocations:
>   - how much memory can we allocate in one chunk?
>   - how many 1MB chunks can we allocate?
>   - check that gap-filling works with a 1MB aligned 900kB alloc + a
>      100kB alloc.
>
> Signed-off-by: Daniel Axtens <dja@axtens.net>
> Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]