lkml.org 
[lkml]   [2000]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] x86 mm init cleanup
Tigran Aivazian wrote:
>
> On Sat, 18 Nov 2000, Brian Gerst wrote:
>
> > Patch against test11. This patch moves the setting of %cr4 out of the
> > loops and makes the code a bit more readable. Tested with standard
> > pagetables, PSE, and PAE.
> >
> >
>
> Brian,
>
> while you were there, so close to paging_init() why not also correct the
> wrong comment at the top of the function? It talks about 0-4M pagetables
> whereas we really setup (see head.S) 0-8M.
>
> Regards,
> Tigran

Add this little patch then

--

Brian Gerstdiff -urN linux-2.4.0t11p7/arch/i386/mm/init.c linux/arch/i386/mm/init.c
--- linux-2.4.0t11p7/arch/i386/mm/init.c Mon Oct 23 17:42:33 2000
+++ linux/arch/i386/mm/init.c Sat Nov 18 11:38:02 2000
@@ -437,7 +437,7 @@
}

/*
- * paging_init() sets up the page tables - note that the first 4MB are
+ * paging_init() sets up the page tables - note that the first 8MB are
* already mapped by head.S.
*
* This routines also unmaps the page at virtual kernel address 0, so
\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.045 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site