[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Fix shadow_check_page_struct_offsets() comment.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1233051933 0
# Node ID 70793b2ff15e6cde06277fa0eb137f854eb8731b
# Parent  d7f524bf90b03654340f8175b129f0c5502b30a4
x86: Fix shadow_check_page_struct_offsets() comment.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/private.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r d7f524bf90b0 -r 70793b2ff15e xen/arch/x86/mm/shadow/private.h
--- a/xen/arch/x86/mm/shadow/private.h  Mon Jan 26 23:36:59 2009 +0000
+++ b/xen/arch/x86/mm/shadow/private.h  Tue Jan 27 10:25:33 2009 +0000
@@ -265,8 +265,8 @@ struct shadow_page_info
 
 /* The structure above *must* be no larger than a struct page_info
  * from mm.h, since we'll be using the same space in the frametable. 
- * Also, the mbz field must line up with the owner field of normal 
- * pages, so they look properly like anonymous/xen pages. */
+ * Also, the mbz field must line up with the count_info field of normal 
+ * pages, so they cannot be successfully get_page()d. */
 static inline void shadow_check_page_struct_offsets(void) {
     BUILD_BUG_ON(sizeof (struct shadow_page_info) !=
                  sizeof (struct page_info));

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.