From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v7 2/3] sock: Move the socket inuse to namespace. Date: Mon, 18 Dec 2017 14:30:16 -0500 (EST) Message-ID: <20171218.143016.1035157635015719813.davem@davemloft.net> References: <1513259519-32332-1-git-send-email-xiangxia.m.yue@gmail.com> <1513259519-32332-2-git-send-email-xiangxia.m.yue@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: xiyou.wangcong@gmail.com, netdev@vger.kernel.org To: xiangxia.m.yue@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:39906 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760296AbdLRTaV (ORCPT ); Mon, 18 Dec 2017 14:30:21 -0500 In-Reply-To: <1513259519-32332-2-git-send-email-xiangxia.m.yue@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Tonghao Zhang Date: Thu, 14 Dec 2017 05:51:58 -0800 > In some case, we want to know how many sockets are in use in > different _net_ namespaces. It's a key resource metric. Useful or not, you're not exporting this value. All this patch series does is convert the existing export of the global tally to add up the per-net values. So if you're not exporting the per-net value on it's own in any way, this patch series isn't achieving the stated goal. I'm not applying this series, sorry.