lkml.org 
[lkml]   [2002]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[BKPATCH] boot hang in migration threads with 2.5.9 and 2.5.10
Date
From
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site