]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Save 16 bytes per mutex if MUTEX_PROFILING is not defined.
authorphk <phk@FreeBSD.org>
Sun, 29 Dec 2002 11:14:41 +0000 (11:14 +0000)
committerphk <phk@FreeBSD.org>
Sun, 29 Dec 2002 11:14:41 +0000 (11:14 +0000)
commitd6fa292284c387e43498b6376282ebd7dc0c8573
treecb442ae4c65f2eb17dc99f57474c592926122791
parent90510abb6e701df9b6cdee3cd888c20b2e81daba
Save 16 bytes per mutex if MUTEX_PROFILING is not defined.

MUTEX_PROFILING is in opt_global.h, so this does not introduce a risk of
variant structure sizes unless foreign kernel modules are used.

This saved 16 bytes per vnode and 16 bytes per vm object for a total of
4MB on a 2GB machine.

Idea from: alc
sys/sys/_mutex.h