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

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



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


 


Rackspace

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