On 14/12/2015 15:51, Vincenzo Maffione wrote: > > This patch slightly rewrites the code to reduce the number of accesses, since > many of them seems unnecessary to me. After this reduction, the bottleneck > jumps from 1 Mpps to 2 Mpps. > > Patch is not complete (e.g. it still does not properly manage endianess, it is > not clean, etc.). I just wanted to ask if you think the idea makes sense, and > a proper patch in this direction would be accepted.
Yes, definitely. I have even done a very similar change here: http://article.gmane.org/gmane.comp.emulators.qemu.block/6620 Can you review that patch, and possibly work on top of it? Thanks, Paolo