mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Aling structure chunk on default aling size
Since we use 8 bytes by default for the pool allocation, keep the structure aligned with this size. (Somehow it was not applied in previous commit.)
This commit is contained in:
parent
04275a672a
commit
9709a27cb6
@ -1,7 +1,7 @@
|
|||||||
Version 1.02.68 -
|
Version 1.02.68 -
|
||||||
==================================
|
==================================
|
||||||
Fix valgrind error reports in free of pool chunks with DEBUG_MEM.
|
Fix valgrind error reports in free of pool chunks with DEBUG_MEM.
|
||||||
Aling size of structure chunk for fast pool allocator to 8 bytes.
|
Align size of structure chunk for fast pool allocator to 8 bytes.
|
||||||
Simplify some pointer operations in dm_free_aux() debug code.
|
Simplify some pointer operations in dm_free_aux() debug code.
|
||||||
Remove unused dbg_malloc.h file from source tree.
|
Remove unused dbg_malloc.h file from source tree.
|
||||||
Cleanup backtraces for _create_and_load_v4().
|
Cleanup backtraces for _create_and_load_v4().
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
struct chunk {
|
struct chunk {
|
||||||
char *begin, *end;
|
char *begin, *end;
|
||||||
struct chunk *prev;
|
struct chunk *prev;
|
||||||
};
|
} __attribute__((aligned(8)));
|
||||||
|
|
||||||
struct dm_pool {
|
struct dm_pool {
|
||||||
struct dm_list list;
|
struct dm_list list;
|
||||||
|
Loading…
Reference in New Issue
Block a user