linux-mips
[Top] [All Lists]

Re: [PATCH] fast path for rdhwr emulation for TLS

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH] fast path for rdhwr emulation for TLS
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Mon, 11 Sep 2006 18:53:29 +0100 (BST)
Cc: nigel@mips.com, ralf@linux-mips.org, dan@debian.org, linux-mips@linux-mips.org
In-reply-to: <20060911.233046.41631256.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4501AABC.1050009@mips.com> <20060909.225641.41198763.anemo@mba.ocn.ne.jp> <Pine.LNX.4.64N.0609111406400.29692@blysk.ds.pg.gda.pl> <20060911.233046.41631256.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
On Mon, 11 Sep 2006, Atsushi Nemoto wrote:

> >  What's wrong with just letting a TLB fault happen?
> 
> It might add a little overhead to usual TLB refill handling.  The
> overhead might be neglectable, but I'm not sure.

 There is no need to change the refill handler -- only the general TLBL 
exception has to be modified.  And this one may be not too critical -- the 
change required is in the path to mark pages accessed.  Is the path 
frequent enough to seek a complex solution while a simple one would just 
work?

  Maciej

<Prev in Thread] Current Thread [Next in Thread>