Re: [Linux-ia64] [PATCH] Performance Patch for TLB misses

Christian Hildner
2002-11-11T08:38:54Z

David Mosberger schrieb:

> >>>>> On Thu, 07 Nov 2002 15:00:27 +0100, Christian Hildner <christian.hildner@hob.de> said:
>
> Christian> - let the processor also check for privilege level
> Christian> because it's very very rare
>
> I didn't look at the patch too closely but this change looks wrong.
> It would let user level insert arbitrary identity-mapped TLB
> translations, which is not safe because it can trigger memory
> attribute aliasing.

Yes, user level would be allowed to insert translations. But the page attributes are hardcoded
(PAGE_KERNEL) and this will not allow the user to touch this pages.

Christian