[Top] [All Lists]

Re: [PATCH] Synthesize TLB refill handler at runtime

To: Geert Uytterhoeven <>
Subject: Re: [PATCH] Synthesize TLB refill handler at runtime
From: Ralf Baechle <>
Date: Sun, 21 Nov 2004 21:43:00 +0100
Cc: Thiemo Seufer <>, Linux/MIPS Development <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/1.4.1i
On Sun, Nov 21, 2004 at 08:50:30PM +0100, Geert Uytterhoeven wrote:

> On Sun, 21 Nov 2004, Thiemo Seufer wrote:
> > currently we have a large number of TLB refill handlers written in
> > hand-optimized assembly which are mostly indentical. The appended
> > patch removes them all, and adds a micro-assembler instead which
> > synthesizes the proper variant for the CPU at runtime.
> Woow.....

This has been the plan for quite a while already.  Nowhere else than in
the TLB exception handler more details about exception handling,
pipeline structure, SMP etc. become visible and benchmarkable in that
few instructions.  Copy_page / clear_page have basically been a test
how well it'd work out - it did.  So from that point it was just a
question of who was going to bite the bullet and do the work and Thiemo
did.  Thanks!


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