[OT] long-lived spawners
Laurent Bercot
ska-dietlibc at skarnet.org
Fri Mar 13 10:51:24 UTC 2015
I think that adding hotplug helper management in a hotplug helper
needlessly complicates things.
It's easy enough to run the following in the init sequence:
1. start a netlink listener with a long-lived handler
2. coldplug stuff
3. register a hotplug helper
4. kill the netlink listener.
To avoid duplicating event handling between 3 and 4, both the
short-lived hotplug helper and the long-lived handler can take a
lock.
--
Laurent
More information about the busybox
mailing list