[PATCH 0/5] Architecture code cleanup

Joseph Myers joseph@codesourcery.com
Thu Dec 16 21:41:56 GMT 2021


On Thu, 16 Dec 2021, Adhemerval Zanella via Libc-alpha wrote:

> The libmemusage requires duplicate definition and adds a lot of
> boilerplate code: its internal atomics can be replaces by
> C11 atomics, which allows remove a lof of atomic-machine.h
> internal types; the internal time can be replaced with hp-timing.h,
> and for stack pointer information we can use either the
> __thread_stack_pointer (hurd) or CURRENT_STACK_FRAME (Linux).

Has this patch series been tested with build-many-glibcs.py?  (I'm 
concerned with making sure the atomics aren't introducing any circular 
dependencies on libatomic - that they're expanded entirely inline or to 
use libgcc operations.)

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list