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-bugs

[Xen-bugs] [Bug 470] limit on the number of vifs per VM

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 470] limit on the number of vifs per VM
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Sun, 16 Apr 2006 13:02:06 -0700
Delivery-date: Sun, 16 Apr 2006 13:02:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bug-470-3@xxxxxxxxxxxxxxxxxxxxxxxxxxx/bugzilla/>
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=470





------- Comment #7 from alexander@xxxxxxxxxxxxx  2006-04-16 13:02 -------
Hi,
I tried my best to find the bug and worked on the source for hours.

I changed in
 xen/include/asm-x86/grant_table.h:
#define ORDER_GRANT_FRAMES 2
to
#define ORDER_GRANT_FRAMES 4

and
linux-2.6-xen-sparse/include/xen/gnttab.h:
#define NR_GRANT_FRAMES 4
to
#define NR_GRANT_FRAMES 16

(Found in xen/include/xen/grant_table.h:
#define NR_GRANT_FRAMES      (1U << ORDER_GRANT_FRAMES)
i hope that explains the relation between NR_GRANT_FRAMES and
ORDER_GRANT_FRAMES)

With no good result. The userdomain crashed with:
WARNING: leaking g.e. and page still in use!

linux-2.6-xen-sparse/drivers/xen/core/gnttab.c explains

....
                /* XXX This needs to be fixed so that the ref and page are
                   placed on a list to be freed up later. */
                printk(KERN_WARNING
                       "WARNING: leaking g.e. and page still in use!\n");
....

I am not familiar enough to fix this place.
Please help me to fix this bug!


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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