但其实8K的边界已经满足8字节对齐的要求(8091 mod 8 = 0),从这点来说2,没有必要再-8。对于再保留8字节的问题,stackoverflow两个人都没有说清楚,都只是在猜想。
1.Peeking on stack
For the very top frame, we may want to take a peek at previous data. In order not to constantly check that the stack is in the 8K range an extra entry is reserved. Specifically, I think that signals need to peek at the stack.
2. Since stack is full-descending
THREAD_START_SP (THREAD_SIZE -
would enforce this requirement probably by illegal access to next page (segmentation fault).