diff options
Diffstat (limited to 'nptl/nptl-stack.c')
-rw-r--r-- | nptl/nptl-stack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/nptl-stack.c b/nptl/nptl-stack.c index 396f226..c049c51 100644 --- a/nptl/nptl-stack.c +++ b/nptl/nptl-stack.c @@ -1,5 +1,5 @@ /* Stack cache management for NPTL. - Copyright (C) 2002-2024 Free Software Foundation, Inc. + Copyright (C) 2002-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -120,7 +120,7 @@ __nptl_deallocate_stack (struct pthread *pd) not reset the 'used' flag in the 'tid' field. This is done by the kernel. If no thread has been created yet this field is still zero. */ - if (__glibc_likely (! pd->user_stack)) + if (__glibc_likely (pd->stack_mode != ALLOCATE_GUARD_USER)) (void) queue_stack (pd); else /* Free the memory associated with the ELF TLS. */ |