Re: [Qemu-devel] [PATCH 2/7] memory: inline some performance-sensitive accessors

2018-03-05 Thread Alexey Kardashevskiy
On 05/03/18 19:36, Paolo Bonzini wrote: > These accessors are called from inlined functions, and the call sequence > is much more expensive than just inlining the access. Move the > struct declaration to memory-internal.h so that exec.c and memory.c > can both use an inline function. > > Cc: qemu

[Qemu-devel] [PATCH 2/7] memory: inline some performance-sensitive accessors

2018-03-05 Thread Paolo Bonzini
These accessors are called from inlined functions, and the call sequence is much more expensive than just inlining the access. Move the struct declaration to memory-internal.h so that exec.c and memory.c can both use an inline function. Cc: qemu-sta...@nongnu.org Signed-off-by: Paolo Bonzini ---