Messages in this thread | | | Date | Tue, 14 Aug 2012 13:20:40 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH 5/5] x86: Move enabling of PSE and PGE out of init_memory_mapping |
| |
Hello,
On Tue, Aug 14, 2012 at 02:52:48PM -0500, Jacob Shin wrote: > > You mean pagetable_reserve() right? > > This is actually needed on every call to init_memory_mapping(), > > My patch 2/5 changes find_early_table_space() to find just enough space > to map start to end. The pagetable_reserve() will then reserve what we > actually used. Since init_memory_mapping() is called again and again > with different start to end ranges, we find space for the page tables > and reserve them every time.
I thought the function was rebuilding pagetable for the whole memory area each time. Maybe I misread. Does it only build the part which is newly being mapped?
Thanks.
-- tejun
| |