]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Remove obsolete comment about guard pages
authorNed Bass <bass6@llnl.gov>
Fri, 19 Sep 2014 18:42:13 +0000 (11:42 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 22 Sep 2014 19:22:16 +0000 (12:22 -0700)
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

lib/libzpool/kernel.c

index ba232425d3c11c68fb96216d1de2a6b87597d151..a1bb973b1fb17ab8bcf27a0af09f9fbf4356d726 100644 (file)
@@ -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;