freebsd-nq/libexec/rc
Conrad Meyer b2b1708d59 rc.subr: Implement list_vars without using 'read'
'read' pessimistically read(2)s one byte at a time, which can be quite
silly for large environments in slow emulators.

In my boring user environment, truss shows that the number of read()
syscalls to source rc.subr and invoke list_vars is reduced by something like
3400 to 60.  ministat(1) shows a significant time difference of about -71%
for my environment.

Suggested by:	jilles
Discussed with:	dteske, jhb, jilles
Differential Revision:	https://reviews.freebsd.org/D18481
2018-12-11 01:38:50 +00:00
..
rc.d Allow forced start of ipmon in special cases where testing is desired 2018-11-22 04:48:27 +00:00
Makefile
netstart
network.subr Remove code that is dead since r287197. Today wlan(4) interfaces aren't 2018-10-24 20:49:51 +00:00
pccard_ether
rc
rc.conf Move definition of $jail_conf variable to /etc/defaults/rc.conf 2018-11-10 14:11:54 +00:00
rc.initdiskless rc.initdiskless: fix commentary grammar after r339465 2018-10-20 18:46:36 +00:00
rc.resume rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" 2018-10-27 17:21:13 +00:00
rc.shutdown
rc.subr rc.subr: Implement list_vars without using 'read' 2018-12-11 01:38:50 +00:00
rc.suspend