Yes, this is it. This morning I tried changing the tlbstate accesses
in switch_mm() to use xchg(), to make them atomic w.r.t. the flush
ipi, and it fixed the problem.
But getting rid of the OLD state completely seems like a neater
solution.
>
> My first bugfix left a tiny race, below is a new bugfix.
>
> I've tested it on my Dual-pII, but I don't have any special multi threaded
> test apps.
>
> Please test it!
I'll try it this evening and let you know how it goes. Thanks for
looking at the problem.
David Wragg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/