]> sourceware.org Git - glibc.git/commit
nptl: Move stack cache management, __libpthread_freeres into libc
authorFlorian Weimer <fweimer@redhat.com>
Tue, 11 May 2021 09:08:00 +0000 (11:08 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 11 May 2021 09:22:33 +0000 (11:22 +0200)
commitc79a31fb36fe265f7566bea622849b06c94b4022
tree59bd2a7dde0670f24c0170a49038111c99008e65
parent249bd833a08e2689e28ff9a094730f0b048a8442
nptl: Move stack cache management, __libpthread_freeres into libc

This replaces the FREE_P macro with the __nptl_stack_in_use inline
function.  stack_list_del is renamed to __nptl_stack_list_del,
stack_list_add to __nptl_stack_list_add, __deallocate_stack to
__nptl_deallocate_stack, free_stacks to __nptl_free_stacks.

It is convenient to move __libpthread_freeres into libc at the
same time.  This removes the temporary __default_pthread_attr_freeres
export and restores full freeres coverage for __default_pthread_attr.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
malloc/set-freeres.c
nptl/Makefile
nptl/Versions
nptl/allocatestack.c
nptl/descr.h
nptl/nptl-stack.c [new file with mode: 0644]
nptl/nptl-stack.h [new file with mode: 0644]
nptl/nptlfreeres.c
nptl/pthreadP.h
nptl/pthread_create.c
This page took 0.046899 seconds and 5 git commands to generate.