Re: [PATCH kvm-unit-tests 3/9] s390x: increase the stack size

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

 



On 10.01.2018 22:53, David Hildenbrand wrote:
> 160 bytes is a little small. 16k sounds better.
> 
> Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>
> ---
>  s390x/flat.lds | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/s390x/flat.lds b/s390x/flat.lds
> index b6e2172..6bd3c23 100644
> --- a/s390x/flat.lds
> +++ b/s390x/flat.lds
> @@ -37,6 +37,6 @@ SECTIONS
>  	/*
>  	 * stackptr set with initial stack frame preallocated
>  	 */
> -	stackptr = . - 160;
> +	stackptr = . - 16k;
>  	stacktop = .;
>  }

Hu? Why?

The "-160" is just for the first initial stack frame. The total size of
the stack is handled with the ". += 64K;" right before the comment instead.

 Thomas




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux