From owner-freebsd-current@FreeBSD.ORG Fri Feb 6 00:21:22 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E20961C4 for ; Fri, 6 Feb 2015 00:21:22 +0000 (UTC) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 610C05E3 for ; Fri, 6 Feb 2015 00:21:22 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id f15so13212803lbj.5 for ; Thu, 05 Feb 2015 16:21:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=umsu7qEbu43R0wAx8m7PQvlwIDeQbyZoKUDvpSDE15k=; b=IUKKK+6ug0GGp6JfYSaKjdGjORJXxNJ9w2sDLUQiV0qNDWypdYjqCXAEHiDlu9Q4eW IcJ4oY6HKb3mWjjQCrZXjU/G+0YQHH2x8dUV24sSa49Fm3MAj+ZViRigk2Tvokkcr8B8 bV318viXlVbH0nLOIDE1h84sCLHVOUQBe9zweNdYd6FXz7oRYy9GxVhEhMkqfdt8Zhko L9XjTtGUHLQL6Gk5hkbRt6fnlNw+nflrh5rIbFNaykoLip7G79eIGug6XWqNoqeUH4Rg SL4LRqfxjdEyMb97HbNJUTJGl0pUe71r7jrSnNUXwJ0DJuhsFvYHxb2m2ojJzAy0imMR b40g== MIME-Version: 1.0 X-Received: by 10.112.182.72 with SMTP id ec8mr565274lbc.122.1423182080431; Thu, 05 Feb 2015 16:21:20 -0800 (PST) Received: by 10.114.78.131 with HTTP; Thu, 5 Feb 2015 16:21:20 -0800 (PST) In-Reply-To: <2509923.ondFvsFdql@overcee.wemm.org> References: <8089702.oYScRm8BTN@overcee.wemm.org> <20150204142941.GE42409@kib.kiev.ua> <2509923.ondFvsFdql@overcee.wemm.org> Date: Thu, 5 Feb 2015 19:21:20 -0500 Message-ID: Subject: Re: PSA: If you run -current, beware! From: Ryan Stone To: Peter Wemm Content-Type: text/plain; charset=UTF-8 Cc: Konstantin Belousov , FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 00:21:23 -0000 On Wed, Feb 4, 2015 at 6:15 PM, Peter Wemm 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?