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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -