NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-alpha/38335 (kernel freeze on alpha MP system)
The following reply was made to PR port-alpha/38335; it has been noted by GNATS.
From: "Michael L. Hitch" <mhitch%lightning.msu.montana.edu@localhost>
To: Jarle Greipsland <jarle%uninett.no@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost
Subject: Re: port-alpha/38335 (kernel freeze on alpha MP system)
Date: Sun, 4 Oct 2009 11:08:29 -0600 (MDT)
I have just committed the following patch, which seems to help
considerably. I've been doing sucessive builds using 2 cpus on an ES40.
I haven't gotten any deadlocks yet, but I did just get a segment violation
on the grotty program on the previous build this morning.
Index: sys/arch/alpha/alpha/pmap.c
===================================================================
RCS file: /cvsroot/src/sys/arch/alpha/alpha/pmap.c,v
retrieving revision 1.242
diff -u -p -r1.242 pmap.c
--- sys/arch/alpha/alpha/pmap.c 10 Sep 2009 22:27:11 -0000 1.242
+++ sys/arch/alpha/alpha/pmap.c 4 Oct 2009 16:58:00 -0000
@@ -962,7 +962,7 @@ pmap_bootstrap(paddr_t ptaddr, u_int max
for (i = 0; i < ALPHA_MAXPROCS; i++) {
TAILQ_INIT(&pmap_tlb_shootdown_q[i].pq_head);
mutex_init(&pmap_tlb_shootdown_q[i].pq_lock, MUTEX_DEFAULT,
- IPL_VM);
+ IPL_SCHED);
}
#endif
--
Michael L. Hitch mhitch%montana.edu@localhost
Computer Consultant
Information Technology Center
Montana State University Bozeman, MT USA
Home |
Main Index |
Thread Index |
Old Index