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? I ran an upstream kernel using Ubuntu 13.04 + the preempt checking + the patches below on my desktop and with the following patches no __this_cpu ops triggered messages. The kernel had the default Ubuntu desktop configuration (+ CONFIG_PREEMPT + CONFIG_DEBUG_THIS_CPU_OPERATIONS). -- 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/