Re: thread stacks and strict vm overcommit accounting

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jakub Jelinek
Date: Friday, March 16, 2007 - 7:43 am

On Thu, Mar 15, 2007 at 11:08:40PM +0000, Hugh Dickins wrote:

RLIMIT_STACK only applies to the initial thread, POSIX threads have just
stack size attribute, not maximum thread stack size attribute.
If you set it explicitly with pthread_attr_setstacksize, then libpthread
will honor whatever thread stack size you want, otherwise it just uses
some default thread stack size.  This happens to be in NPTL derived
from RLIMIT_STACK value, but very well could be something else.

	Jakub
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
thread stacks and strict vm overcommit accounting, Dan Aloni, (Tue Mar 13, 9:33 am)
Re: thread stacks and strict vm overcommit accounting, Andrew Morton, (Thu Mar 15, 12:06 pm)
Re: thread stacks and strict vm overcommit accounting, Hugh Dickins, (Thu Mar 15, 1:37 pm)
Re: thread stacks and strict vm overcommit accounting, Ulrich Drepper, (Thu Mar 15, 1:59 pm)
Re: thread stacks and strict vm overcommit accounting, Andrew Morton, (Thu Mar 15, 3:36 pm)
Re: thread stacks and strict vm overcommit accounting, Hugh Dickins, (Thu Mar 15, 4:08 pm)
Re: thread stacks and strict vm overcommit accounting, KAMEZAWA Hiroyuki, (Thu Mar 15, 9:29 pm)
Re: thread stacks and strict vm overcommit accounting, Jakub Jelinek, (Fri Mar 16, 7:43 am)