From: David S. Miller Date: Thu, 23 Feb 2006 22:19:28 +0000 (-0800) Subject: [SPARC64]: Fix TLB context allocation with SMT style shared TLBs. X-Git-Tag: v2.6.17-rc1~1184^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0663a79ad4faebe1db4a56e2e767b120b12333a;p=pandora-kernel.git [SPARC64]: Fix TLB context allocation with SMT style shared TLBs. The context allocation scheme we use depends upon there being a 1<-->1 mapping from cpu to physical TLB for correctness. Chips like Niagara break this assumption. So what we do is notify all cpus with a cross call when the context version number changes, and if necessary this makes them allocate a valid context for the address space they are running at the time. Stress tested with make -j1024, make -j2048, and make -j4096 kernel builds on a 32-strand, 8 core, T2000 with 16GB of ram. Signed-off-by: David S. Miller --- Reading git-diff-tree failed