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

From: Rusty Russell
Date: Tue Jan 10 2012 - 20:31:05 EST


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.

Cheers,
Rusty.
PS. You could have split this into four separate patches, like the
pedants wanted, and got more gititude!
PPS. I'm so glad you didn't.
--
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/