ia64/xen-unstable
changeset 15146:919d72f6dc45
[IA64] Remove RBS from vcpu_guest_context_regs
We need to address places where this is allocated on the stack before
growing the structure this large.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
We need to address places where this is allocated on the stack before
growing the structure this large.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author | Alex Williamson <alex.williamson@hp.com> |
---|---|
date | Thu May 31 09:45:46 2007 -0600 (2007-05-31) |
parents | 2b14a1f22eec |
children | b4cc3fbcdf25 |
files | xen/include/public/arch-ia64.h xen/include/public/foreign/reference.size |
line diff
1.1 --- a/xen/include/public/arch-ia64.h Fri May 25 09:43:21 2007 -0600 1.2 +++ b/xen/include/public/arch-ia64.h Thu May 31 09:45:46 2007 -0600 1.3 @@ -464,8 +464,18 @@ struct vcpu_guest_context_regs { 1.4 1.5 struct vcpu_tr_regs tr; 1.6 1.7 +#if 0 1.8 + /* 1.9 + * The vcpu_guest_context structure is allocated on the stack in 1.10 + * a few places. With this array for RBS storage, that structure 1.11 + * is a bit over 21k. It looks like maybe we're blowing the stack 1.12 + * and causing rather random looking failures on a couple systems. 1.13 + * Remove since we're not actually using it for now. 1.14 + */ 1.15 + 1.16 /* Note: loadrs is 2**14 bytes == 2**11 slots. */ 1.17 unsigned long rbs[2048]; 1.18 +#endif 1.19 }; 1.20 1.21 struct vcpu_guest_context {
2.1 --- a/xen/include/public/foreign/reference.size Fri May 25 09:43:21 2007 -0600 2.2 +++ b/xen/include/public/foreign/reference.size Thu May 31 09:45:46 2007 -0600 2.3 @@ -8,8 +8,8 @@ cpu_user_regs | 68 2.4 xen_ia64_boot_param | - - 96 2.5 ia64_tr_entry | - - 32 2.6 vcpu_tr_regs | - - 512 2.7 -vcpu_guest_context_regs | - - 21872 2.8 -vcpu_guest_context | 2800 5168 21904 2.9 +vcpu_guest_context_regs | - - 5488 2.10 +vcpu_guest_context | 2800 5168 5520 2.11 arch_vcpu_info | 24 16 0 2.12 vcpu_time_info | 32 32 32 2.13 vcpu_info | 64 64 48