* [PATCH] add info to p2m_pod_dump_data
@ 2016-04-26 4:11 zhangcy
2016-04-27 14:23 ` George Dunlap
2016-04-27 14:25 ` George Dunlap
0 siblings, 2 replies; 3+ messages in thread
From: zhangcy @ 2016-04-26 4:11 UTC (permalink / raw)
To: george.dunlap, keir, jbeulich, andrew.cooper3, xen-devel
just for debug.
'xl debug-key q' do not dump d->tot_pages,
so it hard to understand p2m_pod_set_mem_target.
Signed-off-by: zhangcy <zhangcy@cn.fujitsu.com>
---
xen/arch/x86/mm/p2m-pod.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/arch/x86/mm/p2m-pod.c b/xen/arch/x86/mm/p2m-pod.c
index 35835d1..a931f2c 100644
--- a/xen/arch/x86/mm/p2m-pod.c
+++ b/xen/arch/x86/mm/p2m-pod.c
@@ -660,8 +660,8 @@ void p2m_pod_dump_data(struct domain *d)
{
struct p2m_domain *p2m = p2m_get_hostp2m(d);
- printk(" PoD entries=%ld cachesize=%ld\n",
- p2m->pod.entry_count, p2m->pod.count);
+ printk(" Total pages=%d PoD entries=%ld cachesize=%ld\n",
+ d->tot_pages, p2m->pod.entry_count, p2m->pod.count);
}
--
1.7.12.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] add info to p2m_pod_dump_data
2016-04-26 4:11 [PATCH] add info to p2m_pod_dump_data zhangcy
@ 2016-04-27 14:23 ` George Dunlap
2016-04-27 14:25 ` George Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: George Dunlap @ 2016-04-27 14:23 UTC (permalink / raw)
To: zhangcy, george.dunlap, jbeulich, andrew.cooper3, xen-devel
On 26/04/16 05:11, zhangcy wrote:
> just for debug.
> 'xl debug-key q' do not dump d->tot_pages,
> so it hard to understand p2m_pod_set_mem_target.
debug-key 'q' calls dump_domains, which prints d->tot_pages under the
label "nr_pages".
I admit this isn't very clear -- what about s/nr_pages/tot_pages/ these
instead?
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] add info to p2m_pod_dump_data
2016-04-26 4:11 [PATCH] add info to p2m_pod_dump_data zhangcy
2016-04-27 14:23 ` George Dunlap
@ 2016-04-27 14:25 ` George Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: George Dunlap @ 2016-04-27 14:25 UTC (permalink / raw)
To: zhangcy, george.dunlap, keir, jbeulich, andrew.cooper3, xen-devel
On 26/04/16 05:11, zhangcy wrote:
> just for debug.
> 'xl debug-key q' do not dump d->tot_pages,
> so it hard to understand p2m_pod_set_mem_target.
>
> Signed-off-by: zhangcy <zhangcy@cn.fujitsu.com>
Also, the SoB is a legal statement, so in future patches you should
change "zhangcy" to something which resembles your actual name.
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-27 14:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 4:11 [PATCH] add info to p2m_pod_dump_data zhangcy
2016-04-27 14:23 ` George Dunlap
2016-04-27 14:25 ` George Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).