Re: KVM: pvmmu breakage with gcc 4.3.0

Avi Kivity
2008-06-29T08:56:53Z

Alexandre Oliva wrote:
> I thought a better approach
> was to have __pa do something along the lines of
>
> ({ char *__buf = (char*)buffer; asm ("" : : "o"(*__buf)); ... })
>
> to make it clear that physical addresses are used.
>
>

I agree, I think such a patch is important for future-proofing Linux
against increasing gcc optimization capabilities.

--
error compiling committee.c: too many arguments to function