Re: [PATCH 1/2] x86-32: Fix crashes with CPU hotplug on AMD machines

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Roedel, Joerg
Date: Thursday, August 5, 2010 - 12:45 am

On Wed, Aug 04, 2010 at 07:05:47PM -0400, H. Peter Anvin wrote:

Yeah, the page table with the low mappings is trampoline_pg_dir
introduced in this patch :-)


To make sure I understand correctly, you suggest to initialize
tramponline_pg_dir in the boot sequence of the first cpu and fork
swapper_pg_dir from it later on?


Yeah, may make sense. This patch already brings the 32 bit
implementation closer to the 64 bit one. On 64 bit things are somewhat
simpler because the tramponline page table can be defined at
compile-time there (contains only 2 pgd_t entries) while on 32 bit we
have to initialize it at runtime.

	Joerg

-- 
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/2] x86-32: Fix crashes with CPU hotplug on AM ..., Roedel, Joerg, (Thu Aug 5, 12:45 am)
[tip:x86/urgent] x86-32: Separate 1:1 pagetables from swap ..., tip-bot for Joerg Roedel, (Wed Aug 18, 1:55 pm)
[tip:x86/urgent] x86-32: Fix dummy trampoline-related inli ..., tip-bot for H. Peter ..., (Wed Aug 18, 1:55 pm)
[tip:x86/urgent] x86, hotplug: Serialize CPU hotplug to av ..., tip-bot for Borislav ..., (Thu Aug 19, 3:58 pm)