Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750903Ab2HLEEi (ORCPT ); Sun, 12 Aug 2012 00:04:38 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:57749 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735Ab2HLEEh (ORCPT ); Sun, 12 Aug 2012 00:04:37 -0400 Date: Sat, 11 Aug 2012 21:04:34 -0700 (PDT) Message-Id: <20120811.210434.961670950702666620.davem@davemloft.net> To: yamato@redhat.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 01/15] net: proc entry showing inodes on sockfs and their types From: David Miller In-Reply-To: <1344715638-22997-1-git-send-email-yamato@redhat.com> References: <1344715638-22997-1-git-send-email-yamato@redhat.com> X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 560 Lines: 14 Sorry, you cannot do this. You are adding a new lock and insert into a global list for pretty much every socket created, that will destroy performance. You also cannnot add new fields to socket listing procfs files, it will break existing application which depend upon the existing exact layout of those fields. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/