From: Cristy Date: Sat, 1 Apr 2017 19:50:31 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.5-5~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11bf9cda6dae396cb7f112312abc007a6c39ca96;p=imagemagick ... --- diff --git a/MagickCore/semaphore.c b/MagickCore/semaphore.c index c112c47c8..d8c84dd43 100644 --- a/MagickCore/semaphore.c +++ b/MagickCore/semaphore.c @@ -146,7 +146,7 @@ static void *AcquireSemaphoreMemory(const size_t count,const size_t quantum) return((void *) NULL); } memory=NULL; - alignment=GetMagickPageSize(); + alignment=CACHE_LINE_SIZE; extent=AlignedExtent(size,CACHE_LINE_SIZE); if ((size == 0) || (alignment < sizeof(void *)) || (extent < size)) return((void *) NULL);