On 16-Oct-98 Gleb O. Rajko wrote:
> On Thu, 15 Oct 1998 firstname.lastname@example.org wrote:
>> The performance hit will come into the game as soon as one tries to
>> build a generic kernel for both R3000 and R4000. The R3000 PID and the
>> R4000 ASID mechanism are slightly different and the simple approach
>> to fix that is to use global variables. Which affects both your version
>> and the current version.
> We are going to provide support for building generic kernels in the near
> future if somebody who holds r4k will help us and will try our patches
> on a r4k box. I think the best time to start is when r3k will be synced
> with the main branch. Perhaps, Harald may answer when it might occur.
Hmmm, I'm not shure about this. If we really want to support generic kernels,
that'll shurely needs some more work than a little patching in get_mmu_context.
Remember, Vladimir, we needed to make changes in extremely performance critical
parts of the kernel which Ralf propably won't like to have for the R4000 case.
of them are actually compiled conditionally.
To make those changes generic needs either a reasonable amount of hacking or
avoidable code duplication. In fact, if we really don't care about self
code we should be able to remove some code duplication, for example in the fpu
I'd personally prefer to have a few things sorted out before I check the R3000
in. What's common opinion on this?