From owner-cvs-all Wed May 12 4:33:28 1999 Delivered-To: cvs-all@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 67D3415C8B; Wed, 12 May 1999 04:33:23 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id VAA21073; Wed, 12 May 1999 21:33:22 +1000 Date: Wed, 12 May 1999 21:33:22 +1000 From: Bruce Evans Message-Id: <199905121133.VAA21073@godzilla.zeta.org.au> To: bde@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_malloc.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >bde 1999/05/12 04:11:31 PDT > > Modified files: > sys/kern kern_malloc.c > Log: > Fixed corruption of the kmemstatistcs list. The first malloc() > with malloc type at the tail of the list changed the list from > linear to circular. This seemed to cause surprisingly few problems, > but it now causes weird output from `vmstat -m', probably because > a more important malloc type is now at the tail of the list. > > Fix it by abusing ks_limit instead of ks_next as a flag for being > on the list. Don't forget to clear the flag when a malloc type is > uninit'ed. Uninit'ing is still fundamentally broken -- it loses > history. > > Revision Changes Path > 1.56 +9 -5 src/sys/kern/kern_malloc.c This should be merged into RELENG_3 after some testing. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message