From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,59ca3b26f2b9f750 X-Google-Attributes: gid111c93,public From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Subject: Re: 21064A D-cache is 8KB under Linux Date: 1999/03/12 Message-ID: <7cbee1$kl4$1@news.tuwien.ac.at>#1/1 X-Deja-AN: 454236534 References: <7c36ao$fnm$1@news.tuwien.ac.at> <7c50a1$btd$1@prince.dataforce.net> <7c633v$b$1@news.tuwien.ac.at> <7c6a9r$pr3$1@prince.dataforce.net> <7c6jsp$97o$1@news.tuwien.ac.at> <7c6ps1$up3$1@prince.dataforce.net> <7c8oqm$a9r$1@news.tuwien.ac.at> Organization: Institut fuer Computersprachen, Technische Universitaet Wien Newsgroups: comp.os.linux.alpha In article <7c8oqm$a9r$1@news.tuwien.ac.at>, anton@mips.complang.tuwien.ac.at (Anton Ertl) writes: > In article <7c6ps1$up3$1@prince.dataforce.net>, > Solar Designer writes: > > Anton Ertl wrote: > > > Would simply setting the DC_16K bit be enough? I doubt it; OSs > > > typically need special magic to deal with virtually-indexed caches. Ok, I have tried to think up a case where the virtually indexed cache could be a problem; I wrote a program to exercise this case (http://www.complang.tuwien.ac.at/anton/toggle_dc_16k/mapcheck.c), and it turns out that everything works well. I guess that the cache consistency issues are handled in hardware. I just wonder why there is an 8KB mode at all. So, I think it is safe to switch the D-cache to 16K. You are invited to try it (all the material is available at http://www.complang.tuwien.ac.at/anton/toggle_dc_16k/), and report results to me. IMO this should go into the Linux startup code for EV45-based Alphas. Does anyone know whom I should contact for these kernel patches (the MAINTAINERS file does not list an Alpha maintainer). - anton -- M. Anton Ertl Some things have to be seen to be believed anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen http://www.complang.tuwien.ac.at/anton/home.html