]> sourceware.org Git - lvm2.git/commit
Word alignment for strings
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 30 Mar 2011 12:57:03 +0000 (12:57 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 30 Mar 2011 12:57:03 +0000 (12:57 +0000)
commit649d3a0fdfeb3c3de652acf0e5f07a5793a33a60
tree11214ea5f47bb34b06743b80d1d40bd32faf11c2
parentb74ae69aadc8b0f33c3110b226f09052258c5148
Word alignment for strings

Align strdup char* allocation just on 2 bytes.
It looks like wasting space to align strings on 8 bytes.
(Could be even 1byte - but for hashing it might eventually get better
perfomance - but probably hardly measurable).

TODO: check on various architectures it's not making any problems.
WHATS_NEW_DM
libdm/mm/pool-debug.c
libdm/mm/pool.c
This page took 0.027951 seconds and 5 git commands to generate.