xen-netback: remove page tracking facility
authorWei Liu <wei.liu2@citrix.com>
Mon, 26 Aug 2013 11:59:37 +0000 (12:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Aug 2013 05:18:04 +0000 (01:18 -0400)
commit43e9d1943278e96150b449ea1fa81f4ae27729d5
tree76c3752f6a2c4f6284b55b783ba78d686b36da14
parent5b2941b18dc5f60a5c14a5c15693f9c58b0dd922
xen-netback: remove page tracking facility

The data flow from DomU to DomU on the same host in current copying
scheme with tracking facility:

       copy
DomU --------> Dom0          DomU
 |                            ^
 |____________________________|
             copy

The page in Dom0 is a page with valid MFN. So we can always copy from
page Dom0, thus removing the need for a tracking facility.

       copy           copy
DomU --------> Dom0 -------> DomU

Simple iperf test shows no performance regression (obviously we copy
twice either way):

  W/  tracking: ~5.3Gb/s
  W/o tracking: ~5.4Gb/s

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Matt Wilson <msw@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c