From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Julien Grall <julien.grall@arm.com>,
Stefano Stabellini <sstabellini@kernel.org>,
Wei Liu <wei.liu2@citrix.com>
Subject: [PATCH] arm/mm: remove unused p2m_refcount in page_info
Date: Thu, 23 Mar 2017 16:06:28 +0000 [thread overview]
Message-ID: <20170323160628.3748-1-wei.liu2@citrix.com> (raw)
The code which used that field has been deleted. Found by code
inspection.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Julien Grall <julien.grall@arm.com>
Compile test only
---
xen/include/asm-arm/mm.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/xen/include/asm-arm/mm.h b/xen/include/asm-arm/mm.h
index 60ccbf3769..4892155596 100644
--- a/xen/include/asm-arm/mm.h
+++ b/xen/include/asm-arm/mm.h
@@ -32,12 +32,6 @@ struct page_info
struct {
/* Type reference count and various PGT_xxx flags and fields. */
unsigned long type_info;
- /*
- * Reference count for page table used in the P2M code.
- * The counter is protected by the p2m->lock of the
- * associated domain.
- */
- unsigned long p2m_refcount;
} inuse;
/* Page is on a free list: ((count_info & PGC_count_mask) == 0). */
struct {
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next reply other threads:[~2017-03-23 16:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-23 16:06 Wei Liu [this message]
2017-03-23 18:12 ` [PATCH] arm/mm: remove unused p2m_refcount in page_info Stefano Stabellini
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=20170323160628.3748-1-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=julien.grall@arm.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.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).