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

Re: [Xen-devel] [PATCH] [pv-ops domU] support MAXSMP



On 12/18/2009 02:41 PM, Jan Beulich wrote:
Andrew Jones<drjones@xxxxxxxxxx>  18.12.09 14:23>>>
Another note here is that the amount of stack allocation is the same
regardless of the value of num_processors. We're just creating a pointer
to this structure on the stack. sizeof is smart enough to pass the
appropriate dynamic size on to the mc call for validation though. So I
think all should be good with this patch.

Ah, okay. At least it'll be a clear BUG_ON() if an overflow happens. And
that's probably what you got before your patch?


That's right; "kernel BUG at arch/x86/xen/multicalls.c:209!"

Andrew

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


 


Rackspace

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