Date: Thu, 5 Feb 2015 19:21:20 -0500 From: Ryan Stone <rysto32@gmail.com> To: Peter Wemm <peter@wemm.org> Cc: Konstantin Belousov <kostikbel@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: PSA: If you run -current, beware! Message-ID: <CAFMmRNzjmG%2BLvdR8QNu37eTfS=_DerH82cf0XtXNTQJEN0LAxA@mail.gmail.com> In-Reply-To: <2509923.ondFvsFdql@overcee.wemm.org> References: <8089702.oYScRm8BTN@overcee.wemm.org> <20150204142941.GE42409@kib.kiev.ua> <2509923.ondFvsFdql@overcee.wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 4, 2015 at 6:15 PM, Peter Wemm <peter@wemm.org> wrote: > --- kern/kern_clock.c 2014-12-01 15:42:21.707911656 -0800 > +++ kern/kern_clock.c 2014-12-01 15:42:21.707911656 -0800 > @@ -410,6 +415,11 @@ > #ifdef SW_WATCHDOG > EVENTHANDLER_REGISTER(watchdog_list, watchdog_config, NULL, 0); > #endif > + /* > + * Arrange for ticks to go negative just 5 minutes after boot > + * to help catch sign problems sooner. > + */ > + ticks = INT_MAX - (hz * 5 * 60); > } Should we just commit this under #ifdef INVARIANTS?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNzjmG%2BLvdR8QNu37eTfS=_DerH82cf0XtXNTQJEN0LAxA>