[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F0B348A.3070708@xenotime.net>
Date: Mon, 09 Jan 2012 10:40:10 -0800
From: Randy Dunlap <rdunlap@...otime.net>
To: Kay Sievers <kay.sievers@...y.org>
CC: Rusty Russell <rusty@...tcorp.com.au>,
Jon Masters <jcm@...hat.com>, linux-kernel@...r.kernel.org,
Lucas De Marchi <lucas.demarchi@...fusion.mobi>
Subject: Re: [PATCH] modules: sysfs - export: taint, address, size
On 01/09/2012 04:44 AM, Kay Sievers wrote:
> On Mon, Jan 9, 2012 at 08:27, Rusty Russell <rusty@...tcorp.com.au> wrote:
>> On Sat, 07 Jan 2012 16:44:36 +0100, Kay Sievers <kay.sievers@...y.org> 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 ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists