diff options
author | Ned Bass <[email protected]> | 2014-09-19 11:42:13 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-09-22 12:22:16 -0700 |
commit | cfd3549a532d3f3551ac2bfd7badbfe2617b0e1f (patch) | |
tree | b70f7566e1f7b6a615d34749b9aabd40b93ce011 /lib/libzpool/kernel.c | |
parent | 5043deaa4077fc4bf748469fc8e89a422c7a5aef (diff) |
Remove obsolete comment about guard pages
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 <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2722
Diffstat (limited to 'lib/libzpool/kernel.c')
-rw-r--r-- | lib/libzpool/kernel.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libzpool/kernel.c b/lib/libzpool/kernel.c index ba232425d..a1bb973b1 100644 --- a/lib/libzpool/kernel.c +++ b/lib/libzpool/kernel.c @@ -168,12 +168,6 @@ zk_thread_create(caddr_t stk, size_t stksize, thread_func_t func, void *arg, * 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; |