[OpenWrt-Devel] [PATCH] procd: remove /dev filter on uevents

Jo-Philipp Wich jo at mein.io
Fri Dec 7 04:51:18 EST 2018


Hi,

I had a brief discussion with John on this matter and was being told
that the reason for this filter was to optimize boot time.

When we remove the /dev filter, boot time will increase considerably on
lower end devices due to the resulting hotplug-call overhead of the huge
volume of additional uevents.

A better approach here would be to selectively whitelist uevents based
on subsystem or similar attributes, e.g. `DEVTYPE=usb_device`.

~ Jo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20181207/8a2a21a4/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list