[Top][All Lists]

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

[PATCH 0/3] Fixes and enhancements for memory debugging

From: Glenn Washburn
Subject: [PATCH 0/3] Fixes and enhancements for memory debugging
Date: Tue, 15 Feb 2022 12:36:40 -0600

The first patch supercedes a patch sent earlier of the same subject. I've
removed the #undef if --mm-debug is not passwed to configure. The idea is
that even if --mm-debug is not passed to configure, the user should still
be able to enable memory debugging by passing -DMM_DEBUG in CFLAGS.

The second patch I found useful in dumping the memory allocation state from
a module.

And the third patch is a bug fix, without which enabling memory debugging
leads to a certain infinite recursion crash (when also enabling grub_mm_debug).
As an aside, this leads me to believe that no one has used this feature in
a very long time (and is not currently using it).


Glenn Washburn (3):
  configure: Properly handle MM_DEBUG
  mm: Export grub_mm_dump and grub_mm_dump_free
  mm: Temporarily disable grub_mm_debug while calling grub_vprintf in
    grub_printf           |  4 ++++          |  6 ++++--
 grub-core/kern/misc.c | 19 +++++++++++++++++++
 include/grub/mm.h     |  4 ++--
 4 files changed, 29 insertions(+), 4 deletions(-)


reply via email to

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