Hi, all: Thanks to philmd's review, I've made the following improvements in PATCH v3:
Use more maintainable c functions instead of macros, as per review comments. PATCH v2 changelog: 1. Enrich the commit message, add 'info mtree' print example. 2. Optimize the code implementation according to the review comments. PATCH v2 (reviewed): https://lore.kernel.org/qemu-devel/72b2d911-112e-48e3-9ba4-017a11758...@linaro.org/T/#u PATCH v1 (reviewed): https://lore.kernel.org/qemu-devel/210c69d9-803e-41a5-b40c-bc8372e58...@redhat.com/T/#u -- Regards, Chao Chao Liu (1): system: optimizing info mtree printing for monitors system/memory.c | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) -- 2.48.1