In one embodiment, the present invention includes a method for performing
a direct memory access (DMA) operation in a virtualized environment to
obtain a page from a memory and store the page in a data cache, and
synchronizing the page in the data cache and an instruction cache if the
page implicates instruction information, otherwise not synchronizing the
page. In this manner, synchronizations may be performed on demand. Other
embodiments are described and claimed.