Re: [raw v1 0/4] Replace __this_cpu ops with raw_cpu_ops wherenecessary

From: Ingo Molnar
Date: Tue Oct 08 2013 - 06:29:32 EST



* Christoph Lameter <cl@xxxxxxxxx> wrote:

> The kernel can detect __this_cpu ops in preemptible contexts after the
> preemption check patchset that I posted last week.
>
> Here is a selection of patches to fix false positives caused by the
> additional checks. So far I have found no bug. Amazing. Looks like there
> was some prior work done to shake these things out?

You can probably thank -rt/PREEMPT_RT for such efforts - I think Thomas in
particular has hit a couple of genuine bugs with __this_cpu APIs the hard
way and then fixed them.

This series, once finished, will allow us to detect such problems cheaper
and earlier.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/