From: patrick Date: Fri, 28 May 2021 13:08:37 +0000 (+0000) Subject: Schedule timeout a little bit sooner. Doing this once every minute isn't X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=308e3b7a692e204e74e41daa98c33c6045226057;p=openbsd Schedule timeout a little bit sooner. Doing this once every minute isn't going to hurt, but might save you if you run the machine badly into swap. Proposed by kettenis@ --- diff --git a/sys/dev/fdt/imxdog.c b/sys/dev/fdt/imxdog.c index 82f4a1267e2..73ca0200bb8 100644 --- a/sys/dev/fdt/imxdog.c +++ b/sys/dev/fdt/imxdog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imxdog.c,v 1.2 2021/05/28 13:03:55 patrick Exp $ */ +/* $OpenBSD: imxdog.c,v 1.3 2021/05/28 13:08:37 patrick Exp $ */ /* * Copyright (c) 2012-2013,2021 Patrick Wildt * @@ -38,7 +38,7 @@ extern void (*cpuresetfn)(void); #define WICR 0x06 #define WMCR 0x08 -#define WDOG_TIMEOUT_CALLBACK 120 +#define WDOG_TIMEOUT_CALLBACK 60 #define WDOG_MAX_TIMEOUT_SEC 128 struct imxdog_softc {