From owner-cvs-all Fri Oct 1 7:21:54 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1F12114A1C; Fri, 1 Oct 1999 07:21:51 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA69781; Fri, 1 Oct 1999 07:21:51 -0700 (PDT) (envelope-from peter@FreeBSD.org) Message-Id: <199910011421.HAA69781@freefall.freebsd.org> From: Peter Wemm Date: Fri, 1 Oct 1999 07:21:51 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys malloc.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/10/01 07:21:51 PDT Modified files: sys/sys malloc.h Log: Force the "calls" count for malloc types to be 64 bit where it keeps track of the number of times a particular type has been used. It's rather easy to overflow. One site I'm looking at seems to do it in a matter of days. On the Alpha this is a no-op since 'long' is 64 bit already. The sole user of this interface seems to be vmstat -m and friends which will need a recompile. The overheads of using a 64 bit int should be pretty light as the kernel just does "calls++" type operations and that's it. Revision Changes Path 1.46 +3 -3 src/sys/sys/malloc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message