freebsd kernel with SKQ
Go to file
peter 57a32f2a60 syslogd has always bugged me with it's async startup at boot time.
For me, more often than not, the backgrounded syslogd daemon is not
yet ready to process log messages before other things (such as named)
want to log a heap of them.  It seems that it's the O_SYNC writes of
the stuff coming in from /dev/klog that's the slowdown.

Anyway, instead of using the libc daemon, roll a modified version.  This
one has a timeout.  The child will wait for either the timeout to expire
or the child process to signal it to let it know that it's "ready" and
the /dev/log socket is set up and active, so it's safe to continue the
boot.  It adds a small fraction of a second pause to the boot time, but on
the other hand the overall boot time is *quicker* since the disk is not
being thrashed while the log messages are getting written out synchronously
one by one while other daemons are loading in parallel.

The timeout is in case the child segfaults or something before becoming
fully operational.
1996-10-05 15:20:51 +00:00
bin re-activate the printf builtin now that src/usr.bin/printf.c has been 1996-10-01 04:59:13 +00:00
contrib Print out a summary of the loss percentages for each hop. No manual changes 1996-10-05 01:43:13 +00:00
eBones More ${.CURDIR} changes. 1996-10-01 15:20:29 +00:00
etc Better users list 1996-10-04 20:05:13 +00:00
games Eliminated includes of the "temporary" backwards compatibility header 1996-09-24 08:08:11 +00:00
gnu Oops, an editing error at one point meant I had missed the osfcn.h header 1996-10-04 15:11:42 +00:00
include Add support for storing a -R path in ld in the section dispatch table, 1996-10-01 00:25:32 +00:00
lib Skip results that have unexpected lengths 1996-10-01 03:45:06 +00:00
libexec There's no need to 'unsetenv()' unsafe environment variables explicitly 1996-10-01 16:09:18 +00:00
lkm add forgotten $Id$ 1996-09-22 21:56:57 +00:00
release Erm. I'm sleepy. Handle the null-field case the way I actually meant 1996-10-05 13:30:43 +00:00
sbin Back out my -k changes; there's a better way to do this in the short-term. 1996-10-02 07:22:26 +00:00
secure cmp -s || install -c --> install -C 1996-08-30 04:07:04 +00:00
share Added 210 (San Antonio, TX) and 630 (IL) area codes. 1996-10-05 13:42:44 +00:00
sys Document USERCONFIG_BOOT, even though it doesn't belong where it is. ;-) 1996-10-05 11:01:24 +00:00
tools Fixed CLEANFILES. The *.3 links were missing. 1996-09-20 14:12:32 +00:00
usr.bin Fix Moscow timezone rule 1996-10-05 09:03:37 +00:00
usr.sbin syslogd has always bugged me with it's async startup at boot time. 1996-10-05 15:20:51 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile Add some 'world' hooks for libg++-2.7.2, specifically the new libstdc++ 1996-10-04 08:48:27 +00:00