The patch deals with the situation which guest OS uses
unused page table pages as data pages and write data to them. The pages will still
be grabbed by Xen as page table pages, and lots of unnecessary page faults
occur.
The patch will check if the data guest writes to the
page table contains valid mfn or not, if not, we believe it is a data page now and
then unshadow the page.
The patch improves the VT-D NIC performance a lot.
Signed-off-by:
Xin Xiaohui <xiaohui.xin@xxxxxxxxx>