Thread memory allocation question

Tollef Fog Heen tfheen at redpill-linpro.com
Wed Jul 1 02:11:56 CEST 2009


]] "Poul-Henning Kamp" 

| In message <5C056AE2-7207-42F8-9E4B-0F541DC4B1B2 at slide.com>, Ken Brownfield wri
| tes:
| 
| >Would a stack overflow take out the whole child, or just that thread?
| 
| The kernel would try to extend the stack and provided you are not on
| a 32 bit system, it shouldn't ever have a problem with that.

On the other hand, the gain from decreasing the stack size would just be
a bit less book-keeping for the kernel, unless you have overcommit
turned off (which I don't think anybody actually uses), right?

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73



More information about the varnish-misc mailing list