Re: [RFC][PATCH 0/5] Introduce checks for preemptable code forthis_cpu_read/write()
From: Christoph Lameter
Date: Tue Sep 20 2011 - 12:05:21 EST
On Tue, 20 Sep 2011, Peter Zijlstra wrote:
> On Tue, 2011-09-20 at 10:03 -0500, Christoph Lameter wrote:
> >
> > Well yes the misunderstanding of per cpu operations was one reason why I
> > proposed the discussion on the subject of esoteric kernel synchronization.
> > I do not think that it was accepted.
>
> I don't think anybody here misunderstands it, we're just all very angry
> that its causing so much problems.
What problems? RT does not work with it? The memcg confusion?
> __this_cpu doesn't have preempt debug checks, and there's a lot of
> this_cpu usage that really should have been __this_cpu.
That only works if preemption is disabled when the this_cpu op is being
invoked.
--
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/