From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755056Ab0IOSsP (ORCPT ); Wed, 15 Sep 2010 14:48:15 -0400 Received: from e5.ny.us.ibm.com ([32.97.182.145]:52895 "EHLO e5.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754887Ab0IOSsN (ORCPT ); Wed, 15 Sep 2010 14:48:13 -0400 Subject: Re: [RFC PATCH 2/2] macvtap: TX zero copy between guest and host kernel From: Shirley Ma To: "Michael S. Tsirkin" Cc: Arnd Bergmann , Avi Kivity , "Xin, Xiaohui" , David Miller , netdev@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20100915173034.GB2612@redhat.com> References: <1284490143.13351.82.camel@localhost.localdomain> <20100914190156.GA16037@redhat.com> <1284492983.13351.95.camel@localhost.localdomain> <20100915051241.GA25340@redhat.com> <1284531675.24603.259.camel@localhost.localdomain> <20100915101000.GB28016@redhat.com> <1284562354.2573.12.camel@localhost.localdomain> <20100915150412.GA679@redhat.com> <20100915153927.GA1065@redhat.com> <1284570004.2573.14.camel@localhost.localdomain> <20100915173034.GB2612@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 15 Sep 2010 11:48:08 -0700 Message-ID: <1284576488.2573.17.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2010-09-15 at 19:30 +0200, Michael S. Tsirkin wrote: > At some level NETIF_F_NETNS_LOCAL makes sense: local packets > can get anywhere. OTOH one wonders whether there might be other > issues, e.g. in theory devices could hang on to frag pages > just by doing get_page. There might be other issues. > Maybe we are better off white-listing known-good drivers > with a new flag? Sounds reasonable to me if there is no such a flag to be easily used. Thanks Shirley