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

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

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

Jan


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