Re: [RFC][PATCH 0/5] Introduce checks for preemptable code forthis_cpu_read/write()

From: Christoph Lameter
Date: Tue Sep 20 2011 - 12:10:54 EST


On Tue, 20 Sep 2011, Steven Rostedt wrote:

> I really mean all other users of this_cpu_*(), including the cmpxchg and
> friends, still need to have preemption disabled.

This is argument against the basic design of this_cpu_ops. They were
designed to avoid having to disable preemption for single operations on
per cpu data. I think this shows a basic misunderstanding of what you are
dealing with.


--
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/