Re: [PATCH v12 02/14] unwind_user: Add frame pointer support

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

 



On Tue, 1 Jul 2025 17:36:55 +0200
Jens Remus <jremus@xxxxxxxxxxxxx> wrote:

> On s390 the prev_frame_sp may be equal to curr_frame_sp for the topmost
> frame, as long as the topmost function did not allocate any stack.  For
> instance when early in the prologue or when in a leaf function that does
> not require any stack space.  My s390 sframe support patches would
> therefore currently change above check to:
> 
> 	/* stack going in wrong direction? */
> 	if (sp <= state->sp - topmost)
> 		goto done;

How do you calculate "topmost" then?

Is it another field you add to "state"?

-- Steve




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux