Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 00:09:18 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: HEADSUP: UMA not reentrant / possible memory leak 
Message-ID:  <89068.1059516558@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 29 Jul 2003 23:11:30 %2B0200." <88569.1059513090@critter.freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <88569.1059513090@critter.freebsd.dk>, Poul-Henning Kamp writes:
>
>[I'm CC'ing current because this seems to have a significant negative
>impact on -current kernel stability, and we can use some more data,
>in particular on non-i386 SMP machines]

I just committed a workaround for this problem, until JeffR can
find time to hunt it down.

People running 5.1 and possibly 5.0 on SMP kernels may want to apply
this patch:

Index: uma_core.c
===================================================================
RCS file: /home/ncvs/src/sys/vm/uma_core.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- uma_core.c	28 Jul 2003 02:29:07 -0000	1.63
+++ uma_core.c	29 Jul 2003 22:07:10 -0000	1.64
@@ -197,6 +197,7 @@
 		bucketdisable = 1;
 	else
 		bucketdisable = 0;
+	bucketdisable = 1;
 }
 
 
-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89068.1059516558>