Re: [PATCH v2 1/3] PM suspend/hibernate: Call notifier after freezing processes

2016-12-27 Thread Pali Rohár
On Wednesday 22 July 2015 01:03:23 Rafael J. Wysocki wrote: > On Wed, Jul 22, 2015 at 1:00 AM, Rafael J. Wysocki > wrote: > > Hi Neil, > > > > On Wed, Jul 22, 2015 at 12:08 AM, NeilBrown wrote: > >> On Mon, 20 Jul 2015 23:46:32 +0200 "Rafael J. Wysocki" > >> > >> wrote: > >>> On Monday, July 2

Re: [PATCH v2 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-07-21 Thread Rafael J. Wysocki
On Wed, Jul 22, 2015 at 1:00 AM, Rafael J. Wysocki wrote: > Hi Neil, > > On Wed, Jul 22, 2015 at 12:08 AM, NeilBrown wrote: >> On Mon, 20 Jul 2015 23:46:32 +0200 "Rafael J. Wysocki" >> wrote: >> >>> On Monday, July 20, 2015 09:32:26 AM Pali Rohár wrote: >>> > On Saturday 18 July 2015 01:27:15 Ra

Re: [PATCH v2 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-07-21 Thread Rafael J. Wysocki
Hi Neil, On Wed, Jul 22, 2015 at 12:08 AM, NeilBrown wrote: > On Mon, 20 Jul 2015 23:46:32 +0200 "Rafael J. Wysocki" > wrote: > >> On Monday, July 20, 2015 09:32:26 AM Pali Rohár wrote: >> > On Saturday 18 July 2015 01:27:15 Rafael J. Wysocki wrote: >> > > On Thursday, July 16, 2015 09:33:02 AM

Re: [PATCH v2 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-07-21 Thread NeilBrown
On Mon, 20 Jul 2015 23:46:32 +0200 "Rafael J. Wysocki" wrote: > On Monday, July 20, 2015 09:32:26 AM Pali Rohár wrote: > > On Saturday 18 July 2015 01:27:15 Rafael J. Wysocki wrote: > > > On Thursday, July 16, 2015 09:33:02 AM Pali Rohár wrote: > > > > On Thursday 16 July 2015 03:02:03 Rafael J.

Re: [PATCH v2 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-07-20 Thread Rafael J. Wysocki
On Monday, July 20, 2015 09:32:26 AM Pali Rohár wrote: > On Saturday 18 July 2015 01:27:15 Rafael J. Wysocki wrote: > > On Thursday, July 16, 2015 09:33:02 AM Pali Rohár wrote: > > > On Thursday 16 July 2015 03:02:03 Rafael J. Wysocki wrote: > > > > Also, if you're adding AFTER_FREEZE, it would be

Re: [PATCH v2 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-07-20 Thread Pali Rohár
On Saturday 18 July 2015 01:27:15 Rafael J. Wysocki wrote: > On Thursday, July 16, 2015 09:33:02 AM Pali Rohár wrote: > > On Thursday 16 July 2015 03:02:03 Rafael J. Wysocki wrote: > > > Also, if you're adding AFTER_FREEZE, it would be good to add BEFORE_THAW > > > too > > > for symmetry. > > > >

Re: [PATCH v2 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-07-17 Thread Rafael J. Wysocki
On Thursday, July 16, 2015 09:33:02 AM Pali Rohár wrote: > On Thursday 16 July 2015 03:02:03 Rafael J. Wysocki wrote: > > On Sunday, June 21, 2015 01:20:32 PM Pali Rohár wrote: > > > To prevent race conditions on userspace processes with I/O some taks must > > > be > > > called after processes are

Re: [PATCH v2 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-07-16 Thread Pali Rohár
On Thursday 16 July 2015 03:02:03 Rafael J. Wysocki wrote: > On Sunday, June 21, 2015 01:20:32 PM Pali Rohár wrote: > > To prevent race conditions on userspace processes with I/O some taks must be > > called after processes are freezed. This patch adds new events which are > > delivered by pm_notif

Re: [PATCH v2 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-07-15 Thread Rafael J. Wysocki
On Sunday, June 21, 2015 01:20:32 PM Pali Rohár wrote: > To prevent race conditions on userspace processes with I/O some taks must be > called after processes are freezed. This patch adds new events which are > delivered by pm_notifier_call_chain() after freezing processes when doing > suspend or h

[PATCH v2 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-06-21 Thread Pali Rohár
To prevent race conditions on userspace processes with I/O some taks must be called after processes are freezed. This patch adds new events which are delivered by pm_notifier_call_chain() after freezing processes when doing suspend or hibernate action. Signed-off-by: Pali Rohár --- include/linux