On Thu, Dec 05, 2013 at 03:15:22PM +, Anurag Aggarwal wrote:
> >>if (unlikely(check) &&
> >>*vsp >= (unsigned long *)ctrl->sp_high))
>
> Good idea, It can help in optimizing the code and will leave code more
> readable
> and it will be easy to maintain also.
That was my goal -- it's not
On Thu, Dec 05, 2013 at 03:15:22PM +, Anurag Aggarwal wrote:
if (unlikely(check)
*vsp = (unsigned long *)ctrl-sp_high))
Good idea, It can help in optimizing the code and will leave code more
readable
and it will be easy to maintain also.
That was my goal -- it's not always easy
>>if (unlikely(check) &&
>>*vsp >= (unsigned long *)ctrl->sp_high))
Good idea, It can help in optimizing the code and will leave code more readable
and it will be easy to maintain also.
>>Does the code check anywhere that SP is word-aligned?
>>
>>That should probably be checked if it's not
On Thu, Dec 05, 2013 at 11:26:25AM +, Anurag Aggarwal wrote:
> While unwinding backtrace, stack overflow is possible. This stack
> overflow can sometimes lead to data abort in system if the area after
> stack is not mapped to physical memory.
>
> To prevent this problem from happening,
While unwinding backtrace, stack overflow is possible. This stack
overflow can sometimes lead to data abort in system if the area after
stack is not mapped to physical memory.
To prevent this problem from happening, execute the instructions that
can cause a data abort in separate helper
While unwinding backtrace, stack overflow is possible. This stack
overflow can sometimes lead to data abort in system if the area after
stack is not mapped to physical memory.
To prevent this problem from happening, execute the instructions that
can cause a data abort in separate helper
On Thu, Dec 05, 2013 at 11:26:25AM +, Anurag Aggarwal wrote:
While unwinding backtrace, stack overflow is possible. This stack
overflow can sometimes lead to data abort in system if the area after
stack is not mapped to physical memory.
To prevent this problem from happening, execute the
if (unlikely(check)
*vsp = (unsigned long *)ctrl-sp_high))
Good idea, It can help in optimizing the code and will leave code more readable
and it will be easy to maintain also.
Does the code check anywhere that SP is word-aligned?
That should probably be checked if it's not done already.
8 matches
Mail list logo