From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: patch sysfs-implement-sysfs-tagged-directory-support.patch added to gregkh-2.6 tree Date: Fri, 30 Apr 2010 17:22:24 +0200 Message-ID: <4BDAF5B0.3080801@kernel.org> References: <12725729473590@kroah.org> <4BDA5A2D.6080904@kernel.org> <20100430044522.GA29845@suse.de> <4BDA6C90.9010303@kernel.org> <20100430142940.GC7187@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "Eric W. Biederman" , Greg KH , bcrl@lhnet.ca, benjamin.thery@bull.net, cornelia.huck@de.ibm.com, eric.dumazet@gmail.com, kay.sievers@vrfy.org, netdev@vger.kernel.org To: "Serge E. Hallyn" Return-path: Received: from hera.kernel.org ([140.211.167.34]:60359 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932478Ab0D3Q4O (ORCPT ); Fri, 30 Apr 2010 12:56:14 -0400 In-Reply-To: <20100430142940.GC7187@us.ibm.com> Sender: netdev-owner@vger.kernel.org List-ID: Hello, On 04/30/2010 04:29 PM, Serge E. Hallyn wrote: > Hmm, but looking back over the previous thread (Mar 31) I guess you > mean more in-line comments around the callbacks, presumably things > like class_dir_child_ns_type() and struct kobj_ns_type_operations > members? In-line. What they're, how they're supposed to be used, which calling context is expected, what can be returned and so on. > It sounds like what you'd really like is to have any explicit > mention to namespaces pulled out of drivers/base (layering as you > keep saying)? But will there be a use for this outside of > namespaces? Does trying to anticipate that fall into the category > of over-abstraction? I wouldn't mind limited amount of layering exceptions as long as they're clearly documented. What I'm primarily worried about is not the possibility of other users but more the obfuscation of the whole sysfs-kobject-driver model thing which is already overly abstracted and obfuscated (at least it seems to me that way). NS needs tagged support in the driver model which in itself is fine and I also understand that from someone who's primarily working on NS, adding a bit on top of the whole thing wouldn't seem like much of a problem. To me it seems like worsening a problem which is already pretty bad. I hope you could understand my POV too. Thanks. -- tejun