From: zhangcy <zhangcy@cn.fujitsu.com>
To: george.dunlap@eu.citrix.com, keir@xen.org, jbeulich@suse.com,
andrew.cooper3@citrix.com, xen-devel@lists.xen.org
Subject: [PATCH] add info to p2m_pod_dump_data
Date: Tue, 26 Apr 2016 12:11:48 +0800 [thread overview]
Message-ID: <1461643908-9127-1-git-send-email-zhangcy@cn.fujitsu.com> (raw)
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
next reply other threads:[~2016-04-26 4:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 4:11 zhangcy [this message]
2016-04-27 14:23 ` [PATCH] add info to p2m_pod_dump_data George Dunlap
2016-04-27 14:25 ` George Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1461643908-9127-1-git-send-email-zhangcy@cn.fujitsu.com \
--to=zhangcy@cn.fujitsu.com \
--cc=andrew.cooper3@citrix.com \
--cc=george.dunlap@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).