From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: [PATCH][next-next][v2] netlink: avoid to allocate full skb when sending to many devices Date: Fri, 21 Sep 2018 12:08:32 -0700 Message-ID: References: <1537433690-24335-1-git-send-email-lirongqing@baidu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Linux Kernel Network Developers To: "Li,Rongqing" Return-path: Received: from mail-pl1-f179.google.com ([209.85.214.179]:45943 "EHLO mail-pl1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728456AbeIVA66 (ORCPT ); Fri, 21 Sep 2018 20:58:58 -0400 Received: by mail-pl1-f179.google.com with SMTP id j8-v6so6341548pll.12 for ; Fri, 21 Sep 2018 12:08:44 -0700 (PDT) In-Reply-To: <1537433690-24335-1-git-send-email-lirongqing@baidu.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Sep 20, 2018 at 1:58 AM Li RongQing wrote: > > if skb->head is vmalloc address, when this skb is delivered, full > allocation for this skb is required, if there are many devices, > the full allocation will be called for every devices So why do you in practice need many netlink tap devices? tap devices are now isolated in each netns, so at max you need one tap device per netns in practice.