[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <461FE9D1.1000803@goop.org>
Date: Fri, 13 Apr 2007 13:36:33 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: "H. Peter Anvin" <hpa@...or.com>
CC: Zachary Amsden <zach@...are.com>,
Chris Wright <chrisw@...s-sol.org>, Andi Kleen <ak@...e.de>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Linus Torvalds <torvalds@...l.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Crash while mapping memory in pagetable_init() (Was: Re: .config)
H. Peter Anvin wrote:
> I suggest, for clarity and to minimize bloat:
I think it would save a page, at most. But OK. (Also, if you're
running !PAE, these pages will actually become part of the init_mm
pagetable, so there's no memory wastage at all.)
> #ifdef CONFIG_X86_PAE
> # define PAGE_TABLE_SIZE ((2048+4)*4096)
> #else
> # define PAGE_TABLE_SIZE ((1024+1)*4096)
1024 should be enough; the pgd is still swapper_pg_dir, and there are no
pmds.
J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists