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

Christian Hildner
2002-11-11T08:49:49Z

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