From: Vsevolod Stakhov Date: Sun, 1 Jan 2017 15:18:09 +0000 (+0000) Subject: [Minor] Set smaller alignment for mem_pool X-Git-Tag: 1.5.0~442 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c7a1f12cf15d6141f1fa63ac8610d9ba175ea62d;p=rspamd.git [Minor] Set smaller alignment for mem_pool --- diff --git a/src/libutil/mem_pool.h b/src/libutil/mem_pool.h index d9ca55c5a..69e9f6437 100644 --- a/src/libutil/mem_pool.h +++ b/src/libutil/mem_pool.h @@ -21,7 +21,7 @@ struct f_str_s; #define MEMPOOL_TAG_LEN 20 #define MEMPOOL_UID_LEN 20 -#define MEM_ALIGNMENT 16 /* Better for SSE */ +#define MEM_ALIGNMENT 8 #define align_ptr(p, a) \ (guint8 *) (((uintptr_t) (p) + ((uintptr_t) a - 1)) & ~((uintptr_t) a - 1))