Remove an obsolete comment that refers to code removed by commit
79c6e4c4. The code and comment related to space consumed by guard
pages in user-space stacks, which we no longer take into account.
Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2722
* PTHREAD_STACK_MIN is the minimum stack required for a NULL
* procedure in user space and is added in to the stack
* requirements.
- *
- * Some buggy NPTL threading implementations include the
- * guard area within the stack size allocations. In
- * this case we allocate an extra page to account for the
- * guard area since we only have two pages of usable stack
- * on Linux.
*/
stack = PTHREAD_STACK_MIN + MAX(stksize, STACK_SIZE) * 4;