Date: Thu, 9 Dec 2004 15:42:33 +0100 From: Peter Holm <peter@holm.cc> To: current@freebsd.org Subject: panic: uma_zone_slab is looping Message-ID: <20041209144233.GA46928@peter.osted.lan>
next in thread | raw e-mail | index | archive | help
I modified:
$ cvs diff -u uma_core.c
Index: uma_core.c
===================================================================
RCS file: /home/ncvs/src/sys/vm/uma_core.c,v
retrieving revision 1.110
diff -u -r1.110 uma_core.c
--- uma_core.c 6 Nov 2004 11:43:30 -0000 1.110
+++ uma_core.c 9 Dec 2004 14:38:32 -0000
@@ -1926,6 +1926,7 @@
{
uma_slab_t slab;
uma_keg_t keg;
+ int i;
keg = zone->uz_keg;
@@ -1943,7 +1944,8 @@
slab = NULL;
- for (;;) {
+ for (i = 0;;i++) {
+ KASSERT(i < 10000, ("uma_zone_slab is looping"));
/*
* Find a slab with some space. Prefer slabs that are partially
* used over those that are totally full. This helps to reduce
and caught this one:
http://www.holm.cc/stress/log/cons94.html
--
Peter Holm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041209144233.GA46928>
