This patchset introduces preemption checks for __this_cpu operations. First we add new raw_cpu operations that perform this cpu operations without preempt checks.
The second patch then adds the preempt checks by modifying the __this_cpu macros in include/linux/percpu.h V2->V3: - Subject line in the raw_cpu_ops patch had ; instead of :. Guess I am getting old. - Improve descriptions and variable names. - Run tests again with kvm to verify that it still works. A) No warnings with just the patches applied B) Lots of warnings with CONFIG_DEBUG_THIS_CPU_OPERATIONS enabled C) No warnings with 3 core patches applied that simply convert __this_cpu operations to raw_cpu_ops. V1->V2: - Reuse preemption check logic in lib/smp_processor_id.c - Add CONFIG_DEBUG_THIS_CPU_OPERATIONS - Remove conversions to the use of raw_cpu_ops since these may require some discussion first. -- 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/