Re: [PATCH] modules: sysfs - export: taint, address, size

From: Lucas De Marchi
Date: Tue Jan 10 2012 - 20:56:24 EST


On Tue, Jan 10, 2012 at 9:54 PM, Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
> On Tue, 10 Jan 2012 17:47:43 +0100, Kay Sievers <kay.sievers@xxxxxxxx> wrote:
>> From: Kay Sievers <kay.sievers@xxxxxxxx>
>> Subject: modules: sysfs - export: taint, coresize, initsize
>>
>> Recent tools do not want to use /proc to retrieve module information. A few
>> values are currently missing from sysfs to replace the information available
>> in /proc/modules.
>>
>> This adds /sys/module/*/{coresize,initsize,taint} attributes.
>>
>> TAINT_PROPRIETARY_MODULE (P) and TAINT_OOT_MODULE (O) flags are both always
>> shown now, and do no longer exclude each other, also in /proc/modules.
>>
>> Replace the open-coded sysfs attribute initializers with the __ATTR() macro.
>>
>> Add the new attributes to Documentation/ABI.
>>
>> Cc: Lucas De Marchi <lucas.demarchi@xxxxxxxxxxxxxx>
>> Signed-off-by: Kay Sievers <kay.sievers@xxxxxxxx>
>
> Thanks, applied.
>

Nice to see this patch applied. I'll prepare the changes to kmod.

Thanks
Lucas De Marchi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/