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

Re: [Xen-devel] [PATCH] xen: Disable REP MOVSD optimization if introspection is active

On 27/10/14 10:37, Razvan Cojocaru wrote:
> REP MOVSD emulation is optimized to write several pages at once
> if possible. While this is a very good thing in general, it
> can interfere with a memory introspection application's ability
> to detect suspect behaviour, since it supresses potentially
> telling future page faults. This patch disables the optimization,
> gated on introspection being active for the domain.

An individual rep_movs() call should only optimise to within the current
page, then break back out to the emulator when passing the page boundary.

How does this suppress pagefaults?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.