diff options
author | Carlos O'Donell <carlos@systemhalted.org> | 2015-02-17 19:25:01 -0500 |
---|---|---|
committer | Carlos O'Donell <carlos@systemhalted.org> | 2015-02-17 19:29:15 -0500 |
commit | 8a35c3fe122d49ba76dff815b3537affb5a50b45 (patch) | |
tree | 37fba229a2f0557ffdfd8ee431f499888aea4a16 /nptl/tst-kill6.c | |
parent | 1a2325c06cf309d1d8b4aafcfb1a3d43905baf9b (diff) | |
download | glibc-8a35c3fe122d49ba76dff815b3537affb5a50b45.tar.gz glibc-8a35c3fe122d49ba76dff815b3537affb5a50b45.tar.xz glibc-8a35c3fe122d49ba76dff815b3537affb5a50b45.zip |
Use alignment macros, pagesize and powerof2.
We are replacing all of the bespoke alignment code with ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and PTR_ALIGN_DOWN. This cleans up malloc/malloc.c, malloc/arena.c, and elf/dl-reloc.c. It also makes all the code consistently use pagesize, and powerof2 as required. Code size is reduced with the removal of precomputed pagemask, and use of pagesize instead. No measurable difference in performance. No regressions on x86_64.
Diffstat (limited to 'nptl/tst-kill6.c')
0 files changed, 0 insertions, 0 deletions