23 Feb 2012 12:02
Pausing/resuming CPU's in DDB
Julian Coleman <jdc <at> coris.org.uk>
2012-02-23 11:02:08 GMT
2012-02-23 11:02:08 GMT
Hi, On my 8-way E3500, I almost always see some of the CPU's fail to pause when entering DDB, and fail to resume when leaving. This makes it hard to obtain CPU-specific information for some CPU's. Martin suggested that a loop around the pause/resume code might help here, and the attached patch works for me. Does anyone see any problem with it? Thanks, J -- -- My other computer also runs NetBSD / Sailing at Newbiggin http://www.netbsd.org/ / http://www.newbigginsailingclub.org/
Index: ipifuncs.c
===================================================================
RCS file: /cvsroot/src/sys/arch/sparc64/sparc64/ipifuncs.c,v
retrieving revision 1.44
diff -u -r1.44 ipifuncs.c
--- ipifuncs.c 12 Feb 2012 16:34:10 -0000 1.44
+++ ipifuncs.c 22 Feb 2012 08:09:09 -0000
<at> <at> -325,17 +325,21 <at> <at>
void
mp_pause_cpus(void)
{
+ int i = 3;
sparc64_cpuset_t cpuset;
(Continue reading)
RSS Feed