Re: [PATCH] per-cpu areas for 2.5.3-pre6

From: Linus Torvalds (torvalds@transmeta.com)
Date: Tue Jan 29 2002 - 18:36:57 EST


On Tue, 29 Jan 2002, Oliver Xymoron wrote:
>
> Seems like we could do slightly better to have these local areas mapped to
> the same virtual address on each processor, which does away with the need
> for an entire level of indirection.

No no no.

That is a really stupid idea, even though every single OS developer has at
some time thought that it was the great idea (and it shows up in a lot of
OS's).

The reason it is a stupid idea is that if you do it, you can no longer
share page tables between CPU's (unless all CPU's you support have TLB
fill in software).

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:01:09 EST