Re: [PATCH 6/6] percpu: Add preemption checks to __this_cpu ops

From: Steven Rostedt
Date: Wed Oct 16 2013 - 13:40:23 EST


On Wed, 16 Oct 2013 19:11:53 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

>
> Anyway; I don't think the spinlock pattern matches too good and I don't
> mind the proposed:
>
> this_cpu_$op (disables IRQs itself)
> __this_cpu_$op (with preemption check)
> raw_cpu_$op (without preemption check)
>

That sounds fine too.

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