linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@the-dreams.de>
To: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Cc: Wim Van Sebroeck <wim@iguana.be>,
	Guenter Roeck <linux@roeck-us.net>,
	linux-watchdog@vger.kernel.org,
	Wolfram Sang <wsa+renesas@sang-engineering.com>,
	Robin Gong <b38343@freescale.com>
Subject: Re: [PATCH v4 1/7] watchdog: add pretimeout support to the core
Date: Mon, 29 Aug 2016 20:50:05 +0200	[thread overview]
Message-ID: <20160829185005.GD1610@katana> (raw)
In-Reply-To: <1472227681-1405-2-git-send-email-vladimir_zapolskiy@mentor.com>

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

> +	} else {
>  		wdd->timeout = timeout;
> +		/* Disable pretimeout if it doesn't fit the new timeout */
> +		if (wdd->pretimeout >= wdd->timeout)
> +			wdd->pretimeout = 0;

I wonder if we should add a warning here? What do you think?


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-08-29 18:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-26 16:07 [PATCH v4 0/7] watchdog: add watchdog pretimeout framework Vladimir Zapolskiy
2016-08-26 16:07 ` [PATCH v4 1/7] watchdog: add pretimeout support to the core Vladimir Zapolskiy
2016-08-29 18:50   ` Wolfram Sang [this message]
2016-08-29 19:58     ` Vladimir Zapolskiy
2016-08-29 20:30       ` Guenter Roeck
2016-08-26 16:07 ` [PATCH v4 2/7] fs: compat_ioctl: add pretimeout functions for watchdogs Vladimir Zapolskiy
2016-08-26 16:07 ` [PATCH v4 3/7] watchdog: add watchdog pretimeout governor framework Vladimir Zapolskiy
2016-08-26 16:07 ` [PATCH v4 4/7] watchdog: pretimeout: add panic pretimeout governor Vladimir Zapolskiy
2016-08-29 18:48   ` Wolfram Sang
2016-08-29 19:57     ` Vladimir Zapolskiy
2016-08-26 16:07 ` [PATCH v4 5/7] watchdog: pretimeout: add noop " Vladimir Zapolskiy
2016-08-29 18:49   ` Wolfram Sang
2016-08-26 16:08 ` [PATCH v4 6/7] watchdog: pretimeout: add option to select a pretimeout governor in runtime Vladimir Zapolskiy
2016-08-29 18:54   ` Wolfram Sang
2016-08-29 19:56     ` Vladimir Zapolskiy
2016-08-26 16:08 ` [PATCH v4 7/7] watchdog: pretimeout: add pretimeout_available_governors attribute Vladimir Zapolskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160829185005.GD1610@katana \
    --to=wsa@the-dreams.de \
    --cc=b38343@freescale.com \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=vladimir_zapolskiy@mentor.com \
    --cc=wim@iguana.be \
    --cc=wsa+renesas@sang-engineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).