WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [patch] cleanup xenpage

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [patch] cleanup xenpage
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Sat, 10 Jun 2006 12:02:44 +0900
Delivery-date: Fri, 09 Jun 2006 20:04:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I remove xenpage in linux-2.6-xen-sparse/mm/memory.c
This xenpage isn't used already.

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

diff -r b87ff075dab9 linux-2.6-xen-sparse/mm/memory.c
--- a/linux-2.6-xen-sparse/mm/memory.c  Thu Jun 08 11:08:35 2006 -0600
+++ b/linux-2.6-xen-sparse/mm/memory.c  Fri Jun 09 13:07:28 2006 +0900
@@ -968,7 +968,6 @@ int get_user_pages(struct task_struct *t
 {
        int i;
        unsigned int vm_flags;
-       int xenpage = 0;
 
        /* 
         * Require read or write permissions.
@@ -1026,7 +1025,6 @@ int get_user_pages(struct task_struct *t
                if (vma && (vma->vm_flags & VM_FOREIGN)) {
                        struct page **map = vma->vm_private_data;
                        int offset = (start - vma->vm_start) >> 
PAGE_SHIFT;
-                       xenpage =1;
                        if (map[offset] != NULL) {
                                if (pages) {
                                        struct page *page = map[offset];

Best Regards,

Akio Takebe

Attachment: remove_xenpage.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [patch] cleanup xenpage, Akio Takebe <=