Re: PSA: If you run -current, beware!

From: Ryan Stone <rysto32_at_gmail.com>
Date: Thu, 5 Feb 2015 19:21:20 -0500
On Wed, Feb 4, 2015 at 6:15 PM, Peter Wemm <peter_at_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
> _at__at_ -410,6 +415,11 _at__at_
>  #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?
Received on Thu Feb 05 2015 - 23:21:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC