[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linux Super Page Kernel for Alpha revised



Hi, again,

I examined the code and decided to make a work around 
the 'bad pmd' problem.

Basically, in the Linux kernel we use 'pmd_populate' to set
a pmd entry. The function clears all the existing bits, and
then it is no problem even if the super page bits are on the
entry. (It is because Linux re-uses the free-ed page table
for the pmd also.) But some function or driver happen to void the rule.
I clear the super page bit when a process returns his address space
and zap the page table.
Then it may be valid even in the 2.4.19RC kernel.

The new version of the patch is now on my web:

http://shimizu-lab.dt.u-tokai.ac.jp/lsp.html

I also added a little instruction how to apply the patch 
to the linux kernel. But maybe some documents on the 
other web will be more understandable.

Regards,
Naohiko

On Fri, 05 Jul 2002 17:36:18 -0400
Tom Vier <tmv@comcast.net> wrote:

> On Mon, Jun 24, 2002 at 06:44:11PM +0900, Naohiko Shimizu wrote:
> > I lastly revised the Linux Super Page kernel patch for Alpha.
> > It was about two years ago I last revised the patch.
> > Now it seems quite stable and usable for daily work.
> > I only prepaird for kernel 2.2.21 version yet.
> > (Because I still uses 2.2.X in my box.)
> > 
> > I hope it may help some people's life.
> 
> i think it sped up a kernel compile by about 2min. iirc, it normally takes
> about 18.
> 
> i did get some kernel printks, though. this is an ev56 pws 500au, btw.
> here's the syslog. let me know, if you want my dmesg or map. this is using
> the latest patch on 2.4.19-rc1.
> 
> Jul  5 17:27:36 zero kernel: memory.c:107: bad pmd 0000ead700063309.
> Jul  5 17:27:36 zero kernel: memory.c:107: bad pmd 0000ead800063329.
> Jul  5 17:27:36 zero kernel: memory.c:107: bad pmd 0000ead900063329.
...deleted...
> 
> -- 
> Tom Vier <tmv@comcast.net>
> DSA Key ID 0xE6CB97DA
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 


-- 

Naohiko Shimizu
Department of Communications Engineering,
School of Information Technology and Electronics, Tokai University
1117 Kitakaname Hiratsuka 259-1292 Japan
TEL.+81-463-58-1211(ext. 4084) FAX.+81-463-58-8320
http://shimizu-lab.dt.u-tokai.ac.jp/


-- 
To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: