[CRIU] [PATCH] rst-malloc: return aligned pointers to sizeof(void *) (v2)
Cyrill Gorcunov
gorcunov at gmail.com
Fri Jan 22 11:17:59 PST 2016
On Fri, Jan 22, 2016 at 09:32:24PM +0300, Andrey Vagin wrote:
> From: Andrew Vagin <avagin at virtuozzo.com>
>
> Stas found that if we don't align a pointer,
> futex and atomic operations can fail.
>
> v2: don't hard-code the size of void *
>
> Cc: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
> Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>
More information about the CRIU
mailing list