All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fixes and enhancements for memory debugging
@ 2022-02-15 18:36 Glenn Washburn
  2022-02-15 18:36 ` [PATCH 1/3] configure: Properly handle MM_DEBUG Glenn Washburn
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Glenn Washburn @ 2022-02-15 18:36 UTC (permalink / raw)
  To: Daniel Kiper, grub-devel; +Cc: Glenn Washburn

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

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

 config.h.in           |  4 ++++
 configure.ac          |  6 ++++--
 grub-core/kern/misc.c | 19 +++++++++++++++++++
 include/grub/mm.h     |  4 ++--
 4 files changed, 29 insertions(+), 4 deletions(-)

-- 
2.27.0



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

end of thread, other threads:[~2022-03-02 20:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-15 18:36 [PATCH 0/3] Fixes and enhancements for memory debugging Glenn Washburn
2022-02-15 18:36 ` [PATCH 1/3] configure: Properly handle MM_DEBUG Glenn Washburn
2022-02-22 18:00   ` Daniel Kiper
2022-02-15 18:36 ` [PATCH 2/3] mm: Export grub_mm_dump and grub_mm_dump_free Glenn Washburn
2022-02-22 18:03   ` Daniel Kiper
2022-02-25 21:04     ` Glenn Washburn
2022-03-02 20:51       ` Daniel Kiper
2022-02-15 18:36 ` [PATCH 3/3] mm: Temporarily disable grub_mm_debug while calling grub_vprintf in grub_printf Glenn Washburn
2022-02-22 18:07   ` Daniel Kiper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.