Re: HEADSUP: UMA not reentrant / possible memory leak

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 30 Jul 2003 00:09:18 +0200
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
_at__at_ -197,6 +197,7 _at__at_
 		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.
Received on Tue Jul 29 2003 - 13:09:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC