Messages in this thread | | | From | Frederic Weisbecker <> | Subject | [PATCH 0/2] irq_work: A couple fixes | Date | Tue, 30 Oct 2012 16:34:59 +0100 |
| |
Hi,
The first patch is extracted from my printk patches, with changelog reworked. The second patch is an addition.
And I still wonder if cpu_relax() is enough to prevent the compiler from correctly reloading work->flags in irq_work_sync() loop. Do we need ACCESS_ONCE()?
Thanks.
Frederic Weisbecker (2): irq_work: Fix racy check on work pending flag irq_work: Fix racy IRQ_WORK_BUSY flag setting
kernel/irq_work.c | 29 ++++++++++++++++++++++------- 1 files changed, 22 insertions(+), 7 deletions(-)
-- 1.7.5.4
| |