From: "Zang Hongyong" Subject: question about rx_flip in netback Date: Sun, 22 Jun 2008 11:12:04 +0800 Message-ID: <20080622030311.89CCD13681C@ncic.ac.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , gm281 Cc: xen-devel List-Id: xen-devel@lists.xenproject.org hi In netback netif_be_start_xmit() if (!netif->copying_receiver || ((skb_headlen(skb) + offset_in_page(skb->data)) >= PAGE_SIZE)) { struct sk_buff *nskb = netbk_copy_skb(skb); which calls skb_copy_bits() it means when rx-flip, the skb data and frags are copied to another buffer. then the buffer flip with domU's pages. so before page flip with domU, copying happens in dom0. Does rx-flip make any sense?