Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 1999 04:11:31 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_malloc.c
Message-ID:  <199905121111.EAA46926@freefall.freebsd.org>

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


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?199905121111.EAA46926>