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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/