Dear all,
We run the Linux BSP on i.MX6DL_SABRE
Linux BSP: L3.14.28-1.0.0
Would you tell me how to change the THREAD_SIZE?
We changed it as follows
arch/arm/include/asm/thread_info.h
=====================================
#define THREAD_SIZE_ORDER 2
#define THREAD_SIZE 16384
#define THREAD_START_SP (THREAD_SIZE - 16)
=====================================
Furthermore, is there the point that should be changed?
Best Regards,
Yuuki
已解决! 转到解答。
Hi Yuuki
this defines linux stack size and usually no need to change it. It is described
in common linux resources
c - How does the kernel know what is the current thread? - Stack Overflow
c - Debug stack overruns in kernel modules - Stack Overflow
also one can check linux/arch/arm/include/asm/thread_info.h :
#define THREAD_SIZE_ORDER 1
#define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER)
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuuki
this defines linux stack size and usually no need to change it. It is described
in common linux resources
c - How does the kernel know what is the current thread? - Stack Overflow
c - Debug stack overruns in kernel modules - Stack Overflow
also one can check linux/arch/arm/include/asm/thread_info.h :
#define THREAD_SIZE_ORDER 1
#define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER)
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------