View Single Post
Old 09 February 2009, 11:58   #4
Thalion Webshrine
alexh's Avatar
Join Date: Jan 2004
Location: Oxford
Posts: 12,121
The stack size is nothing to do with caches.

It is an area of main memory reserved for pushing & popping data to/from whilst programs are running and multi-tasking.

If you imagine there are two programs running, when swapping from one to the other the OS must preserve all CPU register values all flag values all branch return values etc. (very oversimplified)

The more programs you run simultaneously and the more they use the stack locally the more stack you need
alexh is offline  
Page generated in 0.04411 seconds with 10 queries