Re: [linux-pm] [PATCH] - race-free suspend. Was: Re: [PATCH 0/8] Suspend block api (version 8)

2010-06-03 Thread Brian Swetland
On Thu, Jun 3, 2010 at 6:36 AM, mark gross <640e9...@gmail.com> wrote: > On Wed, Jun 02, 2010 at 11:12:39PM -0700, Brian Swetland wrote: >> On Wed, Jun 2, 2010 at 11:04 PM, mark gross <640e9...@gmail.com> wrote: >> >> >> >> There are many wakeup events possible in a typical system -- >> >> keypress

Re: [linux-pm] [PATCH] - race-free suspend. Was: Re: [PATCH 0/8] Suspend block api (version 8)

2010-06-03 Thread mark gross
On Wed, Jun 02, 2010 at 11:12:39PM -0700, Brian Swetland wrote: > On Wed, Jun 2, 2010 at 11:04 PM, mark gross <640e9...@gmail.com> wrote: > >> > >> There are many wakeup events possible in a typical system -- > >> keypresses or other input events, network traffic, telephony events, > >> media event

Re: [linux-pm] [PATCH] - race-free suspend. Was: Re: [PATCH 0/8] Suspend block api (version 8)

2010-06-02 Thread Brian Swetland
On Wed, Jun 2, 2010 at 11:04 PM, mark gross <640e9...@gmail.com> wrote: >> >> There are many wakeup events possible in a typical system -- >> keypresses or other input events, network traffic, telephony events, >> media events (fill audio buffer, fill video decoder buffer, etc), and >> I think requ

Re: [linux-pm] [PATCH] - race-free suspend. Was: Re: [PATCH 0/8] Suspend block api (version 8)

2010-06-02 Thread mark gross
On Wed, Jun 02, 2010 at 11:05:18AM -0700, Brian Swetland wrote: > On Wed, Jun 2, 2010 at 1:06 AM, Neil Brown wrote: > > On Wed, 2 Jun 2010 00:05:14 -0700 > > Arve Hjønnevåg wrote: > >> > The user-space suspend daemon avoids losing wake-events by using > >> > fcntl(F_OWNER) to ensure it gets a sig