Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 1999 21:33:22 +1000
From:      Bruce Evans <bde@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
Message-ID:  <199905121133.VAA21073@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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




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