Re: Per-Processor Data Page

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Thu, 9 Dec 1999 13:29:05 +0100 (CET)


On Thu, 9 Dec 1999, Alan Cox wrote:

> Having access the the pid at a fixed address is as good as the %esp trick if
> not better. Unfortunately it means you now have to rewrite it each context
> switch or flush the TLB. Both of these suck. [...]

it's not even possible - think about threads on different processors
running at once. Which fixed address? Page tables are shared.

-- mingo

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