how does stack growing work on windows and linux? -


i read windows programs call _alloca on function entry grow stack if need more 4k on stack. guss every time guard page hit windows allocates new page stack, therefore _alloca accesses stack in 4k steps allocate space.

i read applies windows. how linux (or other oses) solve problem if don't need _alloca?

linux relies on heavily optimized page fault handling, happens program pushes things on stack , page fault handler extend stack on fly.


Comments

Popular posts from this blog

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

java - Why is BlockingQueue.take() not releasing the thread? -

jQuery Ajax Render Fragments OR Whole Page -