|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] big local array in routine in hypervisor
It's definitely not safe. Don't do it! The stack is only a few kilobytes and
needs to be shared with possibly multiple nested interrupt contexts.
-- Keir
On 26/01/2009 22:41, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:
> Is it always safe to have a large local array in a routine
> in the hypervisor, say 2-3 pages (8k-12k) in size? (I suppose
> that may be 32k-48k on ia64 since the code is arch-neutral.)
> Or is there some possibility the Xen stack will overflow?
>
> If not always safe, is there any way to test to see if it safe
> or how large is safe?
>
> Thanks,
> Dan
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|