mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BKPATCH] boot hang in migration threads with 2.5.9 and 2.5.10
@ 2002-04-26 15:58 James Bottomley
  0 siblings, 0 replies; only message in thread
From: James Bottomley @ 2002-04-26 15:58 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

This is an obvious and simple one line fix for a missing CPU logical to 
physical mapping (against 2.5.9).  Without this, my SMP boxes hang forever 
after printing out the migration thread start information.

James Bottomley

===================================================================


ChangeSet@1.531.9.1, 2002-04-26 10:43:28-05:00, jejb@mulgrave.(none)
  Fix migration task boot hang for machines with different physical
  and logical CPU numberings.


 sched.c |    2 +-
 1 files changed, 1 insertion, 1 deletion


diff -Nru a/kernel/sched.c b/kernel/sched.c
--- a/kernel/sched.c	Fri Apr 26 10:54:56 2002
+++ b/kernel/sched.c	Fri Apr 26 10:54:56 2002
@@ -1760,7 +1760,7 @@
 	current->cpus_allowed = -1L;
 
 	for (cpu = 0; cpu < smp_num_cpus; cpu++)
-		while (!cpu_rq(cpu)->migration_thread)
+		while (!cpu_rq(cpu_logical_map(cpu))->migration_thread)
 			schedule_timeout(2);
 }
 #endif

===================================================================


This BitKeeper patch contains the following changesets:
1.531.9.1
## Wrapped with gzip_uu ##


begin 664 bkpatch2152
M'XL(`%!XR3P``[64:VO;,!2&/T>_XHQ^:1A1=+,3&U+2RRZEA86.?"Z*?!*[
ML>7,4M(5_.,GMR5=1Z"L;+9!EG7\ZKQ'CW0$<X=-VKO#NP4Y@J^U\VFOTF6)
M#[0HJ?.(X16IJ:LP?%/787A862^&W1_#LZOAV?SR^F(@:$1"P$Q[D\,.&Y?V
M.)7[+_YA@VGOYM.7^?7I#2&3"9SGVJ[P.WJ83(BOFYTN,S?5/B]K2WVCK:O0
MZV[>=A_:"L9$N",^DBR*6QXS-6H-SSC7BF/&A!K'BF2Z1+,NIK@K7%';P0ZM
MWS;H#HDI(03GDLDV%D&47`"GD>0TH1R8&#(U%#%PEBJ9BO&`12ECT#F?5MMR
MU>@=TF-;6^S#1PX#1L[@WUHY)P8^%S^A*L)D/I@!K]T:%F$=H)."9=U`I4U>
M6'1P7_@<LF*YQ"98ADW^X`JCRZ"A;09EO>IZ<#Z;@]U6"VP*NW*47$$L6<+)
M[&5-R.`O+T*89N3D#?=K;"R60V=RS*CYO02)3%HU$E*TT6(A)!\)$[-,8B(/
M5ON@DA(QCV2BDI8SR=0C9:_CWD;M/1F296UR/T7GJ$5#,SR<'4^85%*-6S:.
MH_@)-$XY%:]!DTFJDK=`X_\%M-,L"Z`Y%[#8P^+K/49@-ELPM>UV=R`Q</-4
MYV\P:.X?G\#![(^2OX.D"SZ*)7!R^=SV>O=Y42(<?P@)W#8_CKOF.;_;2F^Z
F?K\_.-GOD5N?-ZBS_LN!%'(Q:[>M)IRI1602)+\`GJW5%_@$````
`
end



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-26 15:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-26 15:58 [BKPATCH] boot hang in migration threads with 2.5.9 and 2.5.10 James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®