summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp
diff options
context:
space:
mode:
authordufault <dufault@FreeBSD.org>2000-03-12 13:25:14 +0000
committerdufault <dufault@FreeBSD.org>2000-03-12 13:25:14 +0000
commitde04d246e6ae91c01ecc872839fb5759855c8d8d (patch)
treed67162f97167265017d887d20ac3ffc35c38422f /usr.sbin/ntp
parentf141c46ae5b87333af0b69a9c3847cd0c18fd764 (diff)
downloadFreeBSD-src-de04d246e6ae91c01ecc872839fb5759855c8d8d.zip
FreeBSD-src-de04d246e6ae91c01ecc872839fb5759855c8d8d.tar.gz
Disable RTPRIO and P1003.1B scheduling in ntpd. Only leave BSD_NICE
for a scheduling boost. This is a conservative change that should make no difference in practice and eliminate concerns about this being the source of some SMP hangs. Configuration scripts should never auto-configure P1003.1B without a second test. The behavior with respect to regular time sharing, who can access it, etc., is not defined. Approved by: jkh
Diffstat (limited to 'usr.sbin/ntp')
-rw-r--r--usr.sbin/ntp/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntp/config.h b/usr.sbin/ntp/config.h
index ac4b5ce..9746cdd 100644
--- a/usr.sbin/ntp/config.h
+++ b/usr.sbin/ntp/config.h
@@ -619,10 +619,10 @@
#define HAVE_RANDOM 1
/* Define if you have the rtprio function. */
-#define HAVE_RTPRIO 1
+/* #undef HAVE_RTPRIO 1 */
/* Define if you have the sched_setscheduler function. */
-#define HAVE_SCHED_SETSCHEDULER 1
+/* #undef HAVE_SCHED_SETSCHEDULER 1 */
/* Define if you have the setlinebuf function. */
#define HAVE_SETLINEBUF 1
OpenPOWER on IntegriCloud