Re: What I suspect

Linus Torvalds (torvalds@transmeta.com)
Fri, 10 Dec 1999 16:43:08 -0800 (PST)


On Sat, 11 Dec 1999, Jamie Lokier wrote:
> Linus Torvalds wrote:
> > The problem is threads. Many of the above things are thread-specific, and
> > you MUST NOT have different pages mapped in different threads, because
> > that messes up the whole idea of threads (suddenly you cannot share
> > the same page tables in an SMP environment etc)
>
> Isn't that possible like this?
>
> (a) Up to #CPUs page directories (only the pgds) per mm_struct.
> The only difference is this special kernel page, which lives in
> a single pgd entry.

Nope. I don't want to worry about coherency issues. So per-CPU page tables
(even if it is only the directory) are right out.

Linus

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