[OT] long-lived spawners

Laurent Bercot ska-dietlibc at skarnet.org
Thu Mar 12 12:45:12 UTC 2015


On 12/03/2015 13:10, Denys Vlasenko wrote:
> I find it suboptimal to have, say, a hotplug daemon lingering
> in the system five hours after the last hotplug event happened.

  On most systems, it will be swapped away in that case. (Whereas
if the logic is in the kernel, that memory cannot be swapped.)

  If your system doesn't have swap, then it's probably some embedded
box and you likely won't hotplug many things, so you can use
Natanael's approach: use an event listening daemon for the coldplug,
then kill it and register a /proc/sys/kernel/hotplug helper for the
rest of the system's lifetime.

-- 
  Laurent



More information about the busybox mailing list