diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-02-08 12:39:01 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-03-26 11:03:06 +0000 |
commit | 63a20eb03c0c363cf5271eb3a2fa0bb7552c01be (patch) | |
tree | 5dd3dc10e1f41c5d2e12f919d916f3b9244293ee /sysdeps/pthread/tst-exec3.c | |
parent | 9d61722b599a02a6d3caed1d75417a7f5e661693 (diff) | |
download | glibc-63a20eb03c0c363cf5271eb3a2fa0bb7552c01be.tar.gz glibc-63a20eb03c0c363cf5271eb3a2fa0bb7552c01be.tar.xz glibc-63a20eb03c0c363cf5271eb3a2fa0bb7552c01be.zip |
malloc: Use branches instead of mtag_granule_mask
The branches may be better optimized since mtag_enabled is widely used. Granule size larger than a chunk header is not supported since then we cannot have both the chunk header and user area granule aligned. To fix that for targets with large granule, the chunk layout has to change. So code that attempted to handle the granule mask generally was changed. This simplified CHUNK_AVAILABLE_SIZE and the logic in malloc_usable_size. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'sysdeps/pthread/tst-exec3.c')
0 files changed, 0 insertions, 0 deletions