From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755774Ab2AIRlz (ORCPT ); Mon, 9 Jan 2012 12:41:55 -0500 Received: from oproxy4-pub.bluehost.com ([69.89.21.11]:55512 "HELO oproxy4-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752530Ab2AIRlx (ORCPT ); Mon, 9 Jan 2012 12:41:53 -0500 Message-ID: <4F0B348A.3070708@xenotime.net> Date: Mon, 09 Jan 2012 10:40:10 -0800 From: Randy Dunlap Organization: YPO4 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Kay Sievers CC: Rusty Russell , Jon Masters , linux-kernel@vger.kernel.org, Lucas De Marchi Subject: Re: [PATCH] modules: sysfs - export: taint, address, size References: <1325951076.860.2.camel@mop> <871ur99vzf.fsf@rustcorp.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/09/2012 04:44 AM, Kay Sievers wrote: > On Mon, Jan 9, 2012 at 08:27, Rusty Russell wrote: >> On Sat, 07 Jan 2012 16:44:36 +0100, Kay Sievers wrote: > >>> Recent tools do not use /proc to retrieve module information. A few values >>> are currently missing from sysfs. >> >> Well, strace says lsmod still does. Is libkmod doing something >> different? > > Yes, kmod used /sys only. > > There is current code to read the size, to provide the 'lsmod' output, > but that will be removed. > >> Should we be deprecating /proc/modules? > > In the longer run, yes. Deprecate it for udev? OK. what about other users of it? > We still aim for leaving everything that isn't process- or > namespace-related (which, with some stretch is always process-related) > alone, and use /sys for it. -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***