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

2013-07-23 Thread Don Zickus
On Fri, Jul 19, 2013 at 06:33:23PM +0200, Michal Hocko wrote: > On Fri 19-07-13 12:10:48, Don Zickus wrote: > > On Fri, Jul 19, 2013 at 11:04:58AM +0200, Michal Hocko wrote: > > > proc_dowatchdog doesn't synchronize multiple callers which > > > might lead to confusion when two parallel callers migh

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

2013-07-19 Thread Michal Hocko
On Fri 19-07-13 12:10:48, Don Zickus wrote: > On Fri, Jul 19, 2013 at 11:04:58AM +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

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

2013-07-19 Thread Don Zickus
On Fri, Jul 19, 2013 at 11:04:58AM +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_thre