Re: [PATCH][RFC v4] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-21 Thread Chen Yu
On Mon, Aug 21, 2017 at 02:36:40PM +0200, Rafael J. Wysocki wrote: > On Monday, August 21, 2017 9:48:17 AM CEST Chen Yu wrote: > > On Mon, Aug 21, 2017 at 08:47:09AM +0200, Michal Hocko wrote: > > > On Sat 19-08-17 18:21:26, Chen Yu wrote: > > > > There is a problem that when counting the pages for

Re: [PATCH][RFC v4] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-21 Thread Rafael J. Wysocki
On Monday, August 21, 2017 9:48:17 AM CEST Chen Yu wrote: > On Mon, Aug 21, 2017 at 08:47:09AM +0200, Michal Hocko wrote: > > On Sat 19-08-17 18:21:26, Chen Yu wrote: > > > There is a problem that when counting the pages for creating > > > the hibernation snapshot will take significant amount of >

Re: [PATCH][RFC v4] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-21 Thread Chen Yu
On Mon, Aug 21, 2017 at 08:47:09AM +0200, Michal Hocko wrote: > On Sat 19-08-17 18:21:26, Chen Yu wrote: > > There is a problem that when counting the pages for creating > > the hibernation snapshot will take significant amount of > > time, especially on system with large memory. Since the counting

Re: [PATCH][RFC v4] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-20 Thread Michal Hocko
On Sat 19-08-17 18:21:26, Chen Yu wrote: > There is a problem that when counting the pages for creating > the hibernation snapshot will take significant amount of > time, especially on system with large memory. Since the counting > job is performed with irq disabled, this might lead to NMI lockup.

[PATCH][RFC v4] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-19 Thread Chen Yu
There is a problem that when counting the pages for creating the hibernation snapshot will take significant amount of time, especially on system with large memory. Since the counting job is performed with irq disabled, this might lead to NMI lockup. The following warning were found on a system with