* Christoph Lameter <c...@linux.com> 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 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/