diff options
| author | Jan Klötzke <jan@kloetzke.net> | 2019-05-07 20:59:43 +0200 | 
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-06-03 13:24:49 +0200 | 
| commit | 498cec202adbf69a7a72af5e204260682d614183 (patch) | |
| tree | de90b887f83b143b7092bfcc054f5e09fe21bef1 /libbb/in_ether.c | |
| parent | 728e53d38887c268b3557afadfc38472fa4f0cd6 (diff) | |
| download | busybox-498cec202adbf69a7a72af5e204260682d614183.tar.gz | |
mdev: add support to run as daemon
Adds the -d option to run mdev in daemon mode handling hotplug events
from the kernel like udev. If the system generates many hotplug events
this mode of operation will consume less resources than registering
mdev as hotplug helper or using the uevent applet.
function                                             old     new   delta
daemon_loop                                            -     152    +152
initial_scan                                           -     127    +127
open_mdev_log                                          -      85     +85
mdev_main                                            255     314     +59
packed_usage                                       33284   33316     +32
process_action                                      1051     992     -59
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 2/1 up/down: 455/-59)           Total: 396 bytes
Signed-off-by: Jan Klötzke <jan@kloetzke.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/in_ether.c')
0 files changed, 0 insertions, 0 deletions
