From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [RFC] packet: change call of synchronize_net to call_rcu Date: Tue, 04 Sep 2012 12:38:33 -0400 (EDT) Message-ID: <20120904.123833.1657238734473790349.davem@davemloft.net> References: <1346768215-5194-1-git-send-email-icurt@ixiacom.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: iulius.curt@gmail.com, edumazet@google.com, xemul@parallels.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dbaluta@ixiacom.com, icurt@ixiacom.com, sdumitru@ixiacom.com To: danborkmann@iogearbox.net Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Daniel Borkmann Date: Tue, 4 Sep 2012 16:53:06 +0200 > On Tue, Sep 4, 2012 at 4:16 PM, Iulius Curt wrote: >> synchronize_net is called every time we close a PF_PACKET socket which is >> causing performance loss when doing this on many sockets. > > Do you have any particular use case in mind? I'm curious about this too, it seems rediculous to optimize for this and that only seriously mis-designed userspace would do something like this.