PSA: If you run -current, beware!

Ryan Stone rysto32 at gmail.com
Fri Feb 6 00:21:23 UTC 2015


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
> @@ -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?


More information about the freebsd-current mailing list