Re: [PATCH 2/2] irq_work: Fix racy check on work pending flag

2012-11-13 Thread Steven Rostedt
On Fri, 2012-11-02 at 18:35 +0100, Frederic Weisbecker wrote: > Work claiming wants to be SMP-safe. > > And by the time we try to claim a work, if it is already executing > concurrently on another CPU, we want to succeed the claiming and queue > the work again because the other CPU may have

Re: [PATCH 2/2] irq_work: Fix racy check on work pending flag

2012-11-13 Thread Steven Rostedt
On Fri, 2012-11-02 at 18:35 +0100, Frederic Weisbecker wrote: Work claiming wants to be SMP-safe. And by the time we try to claim a work, if it is already executing concurrently on another CPU, we want to succeed the claiming and queue the work again because the other CPU may have missed the

[PATCH 2/2] irq_work: Fix racy check on work pending flag

2012-11-02 Thread Frederic Weisbecker
Work claiming wants to be SMP-safe. And by the time we try to claim a work, if it is already executing concurrently on another CPU, we want to succeed the claiming and queue the work again because the other CPU may have missed the data we wanted to handle in our work if it's about to complete

[PATCH 2/2] irq_work: Fix racy check on work pending flag

2012-11-02 Thread Frederic Weisbecker
Work claiming wants to be SMP-safe. And by the time we try to claim a work, if it is already executing concurrently on another CPU, we want to succeed the claiming and queue the work again because the other CPU may have missed the data we wanted to handle in our work if it's about to complete