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

From: Christian Hildner <christian.hildner_at_hob.de>
Date: 2002-11-11 19:49:49
Mario Smarduch schrieb:

> Christian Hildner wrote:
>
> > Hi,
> >
> > I created a patch that will (hopefully) increase the performance for TLB
> > miss handling.
> >
> > - enlarge the distance between rsm psr.dt and srlz (the movl do not need
> > data access)
> >
> > - let the processor check for the case of page not present (because for
> > useable systems the common case is that the page is present, so optimize
> > for that and drop the conditional branch)
> >
> > - let the processor also check for privilege level because it's very
> > very rare
>
> Wouldn't removal of this possibly cause cached and uncahced mappings
> to same page?

Yes, but for the kernel it is allowed also without the patch and the the user could insert a
duplicate mapping for the same physical page but this useless for him because of the access
rights and also the kernel would not use these pages (because the kernel has no knowledge of
this pages).

Christian
Received on Mon Nov 11 01:10:23 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:10 EST