Date: Fri, 1 Oct 1999 07:21:51 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys malloc.h Message-ID: <199910011421.HAA69781@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910011421.HAA69781>