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

2015-04-09 Thread Pali Rohár
On Thursday 09 April 2015 19:13:55 Rafael J. Wysocki wrote: > On Thursday, April 09, 2015 08:36:57 AM Pali Rohár wrote: > > --nextPart2566388.gOmNIJrIqI > > Content-Type: Text/Plain; > > > > charset="utf-8" > > > > Content-Transfer-Encoding: quoted-printable > > > > On Thursday 09 April 2015 0

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

2015-04-09 Thread Rafael J. Wysocki
On Thursday, April 09, 2015 08:36:57 AM Pali Rohár wrote: > > --nextPart2566388.gOmNIJrIqI > Content-Type: Text/Plain; > charset="utf-8" > Content-Transfer-Encoding: quoted-printable > > On Thursday 09 April 2015 02:28:41 Rafael J. Wysocki wrote: > > On Sunday, April 05, 2015 07:20:17 PM Pali R

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

2015-04-08 Thread Pali Rohár
On Thursday 09 April 2015 02:28:41 Rafael J. Wysocki wrote: > On Sunday, April 05, 2015 07:20:17 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

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

2015-04-08 Thread Rafael J. Wysocki
On Sunday, April 05, 2015 07:20:17 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

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

2015-04-05 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