[OT] long-lived spawners
Denys Vlasenko
vda.linux at googlemail.com
Thu Mar 12 12:10:20 UTC 2015
On Wed, Mar 11, 2015 at 5:10 PM, Harald Becker <ralda at gmx.de> wrote:
> On 11.03.2015 16:34, Laurent Bercot wrote:
>>
>> On 11/03/2015 14:02, Denys Vlasenko wrote:
>>>
>>> But that nldev process will exist for all time, right? That's not
>>> elegant.
>>> Ideally, this respawning logic should be in the kernel.
>>
> ...
>>
>> Needing daemons to answer notifications from userspace processes
>> or the kernel is the Unix way. It's not Hurd's, it's not Plan 9's
>> (AFAIK), but it's what we have, and it's not even that ugly. The
>> listening and spawning logic will have to be somewhere anyway, so
>> why not userspace ? Userspace memory is cheaper (because it can
>> be swapped), userspace processes are safer, and processes are not
>> a scarce resource.
>
> And what is wrong with a long lived daemon?
I find it suboptimal to have, say, a hotplug daemon lingering
in the system five hours after the last hotplug event happened.
More information about the busybox
mailing list