Re: [PATCH 1/2] watchdog: update watchdog attributes atomically

From: Ingo Molnar
Date: Fri Jul 26 2013 - 16:07:43 EST



* Don Zickus <dzickus@xxxxxxxxxx> wrote:

> On Fri, Jul 26, 2013 at 02:49:34PM +0200, Michal Hocko wrote:
> > proc_dowatchdog doesn't synchronize multiple callers which
> > might lead to confusion when two parallel callers might confuse
> > watchdog_enable_all_cpus resp. watchdog_disable_all_cpus (e.g. watchdog
> > gets enabled even if watchdog_thresh was set to 0 already).
> >
> > This patch adds a local mutex which synchronizes callers to the sysctl
> > handler.
> >
> > Signed-off-by: Michal Hocko <mhocko@xxxxxxx>
>
> Acked-by: Don Zickus <dzickus@xxxxxxxxxx>

Ack from you for both patches?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/