From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161804AbXDXPVy (ORCPT ); Tue, 24 Apr 2007 11:21:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161803AbXDXPVx (ORCPT ); Tue, 24 Apr 2007 11:21:53 -0400 Received: from smtp.osdl.org ([65.172.181.24]:52661 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161804AbXDXPVw (ORCPT ); Tue, 24 Apr 2007 11:21:52 -0400 Date: Tue, 24 Apr 2007 08:21:17 -0700 From: Stephen Hemminger To: Keiichi KII Cc: Andrew Morton , mpm@selenic.com, davem@davemloft.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [RFC][PATCH -mm take4 2/6] support multiple logging Message-ID: <20070424082117.354341d3@oldman> In-Reply-To: <20070424012902.1089bc02.akpm@linux-foundation.org> References: <462605DC.2080804@bx.jp.nec.com> <462609D1.50300@bx.jp.nec.com> <20070419210813.a599c54f.akpm@linux-foundation.org> <46288D11.4000801@bx.jp.nec.com> <20070420111526.01ad7f4c.akpm@linux-foundation.org> <462DBC64.9070102@bx.jp.nec.com> <20070424012902.1089bc02.akpm@linux-foundation.org> X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.10.11; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Apr 2007 01:29:02 -0700 Andrew Morton wrote: > On Tue, 24 Apr 2007 17:14:28 +0900 Keiichi KII wrote: > > > > On Fri, 20 Apr 2007 18:51:13 +0900 > > > Keiichi KII wrote: > > > > > >>> I started to do some cleanups and fixups here, but abandoned it when it was > > >>> all getting a bit large. > > >>> > > >>> Here are some fixes against this patch: > > >> I'm going to fix my patches by following your reviews and send new patches > > >> on the LKML and the netdev ML in a few days. > > >> > > > > > > Well.. before you can finish this work we need to decide upon what the > > > interface to userspace will be. > > > > > > - The miscdev isn't appropriate > > > > > > > Why isn't miscdev appropriate? > > We just shouldn't use miscdev for networking conventionally? > > > > Yes it's rather odd, especially for networking. > > What does the miscdev _do_ anyway? Is it purely a target for the ioctls? Some other speculations: 1. Would it be possible to add ioctl's to /dev/console? This would be more in keeping with older Unix style model. 2. Using sysfs makes sense if there is a device object that exists to add the sysfs attributes to. 3. Procfs is handy for summary type tables. 4. Netlink does feel like overkill for this. Although newer generic netlink makes it easier.