Isaku Yamahata
2006-Jun-15 11:01 UTC
[Xen-devel] [PATCH] xen socket buffer allocation fix for non-privileged domain
socket buffer need not to be machine-contiguous for non-priveleged domain. populate physmap hypercall fails with extent order > 0 for non-privileged domain. On non-privileged domain of Xen/IA64, this caused some trobles. -- yamahata _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Jun-15 12:41 UTC
Re: [Xen-devel] [PATCH] xen socket buffer allocation fix for non-privileged domain
On 15 Jun 2006, at 12:01, Isaku Yamahata wrote:> socket buffer need not to be machine-contiguous for non-priveleged > domain. > populate physmap hypercall fails with extent order > 0 for > non-privileged > domain. > On non-privileged domain of Xen/IA64, this caused some trobles.I put this in for now but, in general the SIF_PRIVILEGED flag is only set for domain0 and not for other driver domains. Your problem is probably that the guest gives up memory and then cannot reclaim it when the get-contiguous-region request fails, so it then crashes. I''m fixing this by adding an atomic memory-exchange hypercall -- when I''ve added that you can fix up your create_contiguous_region and I''ll remove this change to the skbuff allocation code. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel