Re: [PATCH RFC] suspend/hibernation: Fix racing timers

2014-07-24 Thread Sören Brinkmann
Hi John, On Wed, 2014-07-23 at 08:55PM -0700, John Stultz wrote: > On 07/21/2014 10:35 AM, Soren Brinkmann wrote: > > On platforms that do not power off during suspend, successfully entering > > suspend races with timers. > > > > The race happening in a couple of location is: > > > > 1. disable

Re: [PATCH RFC] suspend/hibernation: Fix racing timers

2014-07-23 Thread John Stultz
On 07/21/2014 10:35 AM, Soren Brinkmann wrote: > On platforms that do not power off during suspend, successfully entering > suspend races with timers. > > The race happening in a couple of location is: > > 1. disable IRQs (e.g. arch_suspend_disable_irqs()) > ... > 2. syscore_suspend()