]> git.hungrycats.org Git - linux/commit
[PATCH] Fix memory corruption at x86-64 SMP bootup
authorAndi Kleen <ak@muc.de>
Sat, 17 Jul 2004 13:48:50 +0000 (06:48 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 17 Jul 2004 13:48:50 +0000 (06:48 -0700)
commit32f5543d552793dfdc2576668422b7fbdf32d01c
treeb4a32877815b50a47de96bba3dd12b134b1ed646
parentf044bba32770c258f7baacde36dd0e1fa84b7120
[PATCH] Fix memory corruption at x86-64 SMP bootup

This fixes a long standing corruption bug in the x86-64 code. The SMP
trampoline would corrupt page 2, which was sometimes used for other
data.  This corrupted the ioport/iomem list in some cases and causes
oopses while read /proc/iomem.

Fix is to check the correct location and don't zero it afterwards
because it gets reinitialized for the next CPU anyways.

Thanks to Alexander Nyberg for tracking it down.
arch/x86_64/kernel/smpboot.c