Fixes and enhancements for memory debugging
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | configure: Properly handle MM_DEBUGconfig.h.in configure.ac | +8 | 1 reply | |
| 2/3 | mm: Export grub_mm_dump and grub_mm_dump_freeinclude/ | +2 | 3 replies | |
| 3/3 | mm: Temporarily disable grub_mm_debug while calling grub_vprintf in grub_printfgrub-core/ | +19 | 1 reply |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Kiper |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Fixes and enhancements for memory debugging
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(-)
Signature · 1 line
2.27.0