summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-12-15 21:23:32 +0000
committerjhb <jhb@FreeBSD.org>2000-12-15 21:23:32 +0000
commit415f02cbaf57fb59bc31f00b3a78c1421286196e (patch)
treeba1e60d53bb18210c6a5b270279ce10a2c511871 /sys/netinet/udp_usrreq.c
parente9d51c0803304de86917105a749c982aa3159aa2 (diff)
downloadFreeBSD-src-415f02cbaf57fb59bc31f00b3a78c1421286196e.zip
FreeBSD-src-415f02cbaf57fb59bc31f00b3a78c1421286196e.tar.gz
Delay waking up processes select'ing on the log device directly from
the kernel console. Instead, change logwakeup() to set a flag in the softc. A callout then wakes up every so often and wakes up any processes selecting on /dev/log (such as syslogd) if the flag is set. By default this callout fires 5 times a second, but that can be adjusted by the sysctl kern.log_wakeups_per_second. Reviewed by: phk
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud