Re: module: sysfs - add 'uevent' file to allow coldplug

From: Rusty Russell
Date: Mon Jul 04 2011 - 01:34:39 EST


On Fri, 1 Jul 2011 14:14:49 -0700, Greg KH <greg@xxxxxxxxx> wrote:
> On Sun, Jun 19, 2011 at 12:00:29AM +0200, Kay Sievers wrote:
> > From: Kay Sievers <kay.sievers@xxxxxxxx>
> > Subject: module: sysfs - add 'uevent' file to allow built-in coldplug
> >
> > Userspace wants to manage module parameters with udev rules.
> > This currently only works for loaded modules, but not for
> > built-in ones.
> >
> > To allow access to the built-in modules we need to
> > re-trigger all module load events that happened before any
> > userspace was running. We already do the same thing for all
> > devices, subsystems(buses) and drivers.
> >
> > This adds the currently missing /sys/module/<name>/uevent files
> > to all module entries.
> >
> > Signed-off-by: Kay Sievers <kay.sievers@xxxxxxxx>
>
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
>
> Rusty, are you going to take this in your tree?

Yep, done.

Thanks,
Rusty.

--
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/