about summary refs log tree commit diff
path: root/Rules
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-02-04 10:01:29 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-02-04 10:01:29 +0100
commit221baae0012e56e4043b914fec47340ef3a1e0c8 (patch)
tree3d6e6c931cffecfd10a836bc0acaf51410a3a5cc /Rules
parentb8c7238167de4c080b8b0909213bc7b5abef46e3 (diff)
downloadglibc-221baae0012e56e4043b914fec47340ef3a1e0c8.tar.gz
glibc-221baae0012e56e4043b914fec47340ef3a1e0c8.tar.xz
glibc-221baae0012e56e4043b914fec47340ef3a1e0c8.zip
time: Avoid alignment gaps in __tzfile_read
By ordering the suballocations by decreasing alignment, alignment
gaps can be avoided.

Also use __glibc_unlikely for reading the transitions and type
indexes.  In the 8-byte case, two reads are now needed because the
transitions and type indexes are no longer adjacent.  The separate
call to __fread_unlocked does not matter from a performance point of
view because __tzfile_read is only invoked rarely.
Diffstat (limited to 'Rules')
0 files changed, 0 insertions, 0 deletions