[PATCH][RT][PPC64] Fix preempt unsafe paths accessing per_cpu variables
Benjamin Herrenschmidt
benh at kernel.crashing.org
Sat Jul 19 08:05:30 EST 2008
> With the original patch, the pending batch does get flushed
> in a non-preemptable region.
> I am resending the original with just adding the necesary comments.
Your comment isn't what I meant. What I meant is that if the process
is context switched while walking the page tables, the low level powerpc
context switch code should also perform a __flush_tlb_pending.
BTW. Is the pte_lock also not a real spinlock anymore ? That may break
other assumptions the powerpc mm code is doing.
This -rt stuff is just too scary, it changes some fundamental semantics
of the spinlocks. yuck.
Ben.
More information about the Linuxppc-dev
mailing list