HEADSUP: UMA not reentrant / possible memory leak

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Jul 29 15:09:21 PDT 2003


In message <88569.1059513090 at 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 at 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.


More information about the freebsd-current mailing list