Re: [PATCH 3/3] x86/mm: Separate paging setup from memory mapping

2012-07-15 Thread Pekka Enberg
On Sat, Jul 14, 2012 at 6:41 AM, Pekka Enberg wrote: >> Move PSE and PGE bit twiddling from init_memory_mapping() to a new >> setup_paging() function to simplify the former function. The >> init_memory_mapping() function is called later in the boot process by >> gart_iommu_init(), efi_ioremap(),

Re: [PATCH 3/3] x86/mm: Separate paging setup from memory mapping

2012-07-15 Thread Pekka Enberg
On Sat, Jul 14, 2012 at 6:41 AM, Pekka Enberg penb...@kernel.org wrote: Move PSE and PGE bit twiddling from init_memory_mapping() to a new setup_paging() function to simplify the former function. The init_memory_mapping() function is called later in the boot process by gart_iommu_init(),

Re: [PATCH 3/3] x86/mm: Separate paging setup from memory mapping

2012-07-14 Thread Yinghai Lu
On Sat, Jul 14, 2012 at 6:41 AM, Pekka Enberg wrote: > Move PSE and PGE bit twiddling from init_memory_mapping() to a new > setup_paging() function to simplify the former function. The > init_memory_mapping() function is called later in the boot process by > gart_iommu_init(), efi_ioremap(), and

[PATCH 3/3] x86/mm: Separate paging setup from memory mapping

2012-07-14 Thread Pekka Enberg
Move PSE and PGE bit twiddling from init_memory_mapping() to a new setup_paging() function to simplify the former function. The init_memory_mapping() function is called later in the boot process by gart_iommu_init(), efi_ioremap(), and arch_add_memory() which have no business whatsover updating

[PATCH 3/3] x86/mm: Separate paging setup from memory mapping

2012-07-14 Thread Pekka Enberg
Move PSE and PGE bit twiddling from init_memory_mapping() to a new setup_paging() function to simplify the former function. The init_memory_mapping() function is called later in the boot process by gart_iommu_init(), efi_ioremap(), and arch_add_memory() which have no business whatsover updating

Re: [PATCH 3/3] x86/mm: Separate paging setup from memory mapping

2012-07-14 Thread Yinghai Lu
On Sat, Jul 14, 2012 at 6:41 AM, Pekka Enberg penb...@kernel.org wrote: Move PSE and PGE bit twiddling from init_memory_mapping() to a new setup_paging() function to simplify the former function. The init_memory_mapping() function is called later in the boot process by gart_iommu_init(),