Re: [PATCH] x86 mm init cleanup

From: Brian Gerst (bgerst@didntduck.org)
Date: Sat Nov 18 2000 - 11:39:38 EST


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 Gerst

diff -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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:15 EST