Skip to content

Commit

Permalink
(__pthread_initialize_minimal_internal): Don't treat architectures wi…
Browse files Browse the repository at this point in the history
…th separate register stack special here when computing default stack size.
  • Loading branch information
Ulrich Drepper committed Dec 18, 2003
1 parent 382168d commit 6c3eb26
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nptl/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,7 @@ __pthread_initialize_minimal_internal (void)
default. */
limit.rlim_cur = ARCH_STACK_DEFAULT_SIZE;

#ifdef NEED_SEPARATE_REGISTER_STACK
__default_stacksize = MAX (limit.rlim_cur / 2, PTHREAD_STACK_MIN);
#else
__default_stacksize = MAX (limit.rlim_cur, PTHREAD_STACK_MIN);
#endif
/* The maximum page size better should be a multiple of the page
size. */
assert (__default_stacksize % __sysconf (_SC_PAGESIZE) == 0);
Expand Down

0 comments on commit 6c3eb26

Please sign in to comment.