From: Ravikiran G Thirumalai Date: Wed, 31 Dec 2008 21:44:46 +0000 (-0800) Subject: x86: fix incorrect __read_mostly on _boot_cpu_pda X-Git-Tag: v2.6.29-rc1~536^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26799a63110dcbe81291ea53178f6b4810d07424;p=pandora-kernel.git x86: fix incorrect __read_mostly on _boot_cpu_pda The pda rework (commit 3461b0af025251bbc6b3d56c821c6ac2de6f7209) to remove static boot cpu pdas introduced a performance bug. _boot_cpu_pda is the actual pda used by the boot cpu and is definitely not "__read_mostly" and ended up polluting the read mostly section with writes. This bug caused regression of about 8-10% on certain syscall intensive workloads. Signed-off-by: Ravikiran Thirumalai Acked-by: Mike Travis Cc: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed