* [PATCH] arm/mm: remove unused p2m_refcount in page_info
@ 2017-03-23 16:06 Wei Liu
2017-03-23 18:12 ` Stefano Stabellini
0 siblings, 1 reply; 2+ messages in thread
From: Wei Liu @ 2017-03-23 16:06 UTC (permalink / raw)
To: Xen-devel; +Cc: Julien Grall, Stefano Stabellini, Wei Liu
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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] arm/mm: remove unused p2m_refcount in page_info
2017-03-23 16:06 [PATCH] arm/mm: remove unused p2m_refcount in page_info Wei Liu
@ 2017-03-23 18:12 ` Stefano Stabellini
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Stabellini @ 2017-03-23 18:12 UTC (permalink / raw)
To: Wei Liu; +Cc: Xen-devel, Julien Grall, Stefano Stabellini
On Thu, 23 Mar 2017, Wei Liu wrote:
> The code which used that field has been deleted. Found by code
> inspection.
>
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-23 18:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-23 16:06 [PATCH] arm/mm: remove unused p2m_refcount in page_info Wei Liu
2017-03-23 18:12 ` Stefano Stabellini
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).