All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] memory: extend "info mtree" with flat view dump
@ 2016-12-19 14:10 Peter Xu
  2016-12-19 14:10 ` [Qemu-devel] [PATCH 1/2] memory: provide common macros for mtree_print_mr() Peter Xu
  2016-12-19 14:10 ` [Qemu-devel] [PATCH 2/2] memory: hmp: dump flat view for 'info mtree' Peter Xu
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Xu @ 2016-12-19 14:10 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, peterx

Each address space has its own flatview. It's another way to observe
memory info besides the default memory region hierachy, for example,
if we want to know which memory region will handle the write to
specific address, a flatview will suite more here than the default
hierachical dump.

I used it to debug a vt-d memory region overlap issue. Do we need
this? I think we can at least consider patch 1, which is a cleanup of
existing codes. :)

Please review. Thanks,

Peter Xu (2):
  memory: provide common macros for mtree_print_mr()
  memory: hmp: dump flat view for 'info mtree'

 memory.c | 65 +++++++++++++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 46 insertions(+), 19 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2016-12-21  7:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-19 14:10 [Qemu-devel] [PATCH 0/2] memory: extend "info mtree" with flat view dump Peter Xu
2016-12-19 14:10 ` [Qemu-devel] [PATCH 1/2] memory: provide common macros for mtree_print_mr() Peter Xu
2016-12-20 10:50   ` Marc-André Lureau
2016-12-20 10:54     ` Marc-André Lureau
2016-12-19 14:10 ` [Qemu-devel] [PATCH 2/2] memory: hmp: dump flat view for 'info mtree' Peter Xu
2016-12-21  7:56   ` Peter Xu

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.