[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 02/10] compiler.h: add QEMU_CACHELINE + QEMU_ALI

From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 02/10] compiler.h: add QEMU_CACHELINE + QEMU_ALIGN() + QEMU_CACHELINE_ALIGNED
Date: Tue, 5 Apr 2016 08:57:45 +0100

On 5 April 2016 at 06:30, Emilio G. Cota <address@hidden> wrote:
> I'm assuming windows compilers don't support this attribute.

Our windows compiler is gcc, so I would expect it to support
attribute aligned, and a quick grep through the sources shows
we already use it in several places.

> +#define QEMU_CACHELINE (64)

Why 64? Does anything bad happen if the host's cache line
size turns out to be greater than the value here ?

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]