]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Garbage collect mtxpool_lockbuilder, the mutex pool historically used
authorrwatson <rwatson@FreeBSD.org>
Fri, 2 May 2014 07:57:40 +0000 (07:57 +0000)
committerrwatson <rwatson@FreeBSD.org>
Fri, 2 May 2014 07:57:40 +0000 (07:57 +0000)
commit7ca3cc4389bc98a48e1c007ab40dfa0dafd6943b
treeb8cc9d270a7c30d10e6e2ea33e21e72c8d06aa7a
parent382c3dae477fc5ca49cea9603cc1591fe2591140
Garbage collect mtxpool_lockbuilder, the mutex pool historically used
for lockmgr and sx interlocks, but unused since optimised versions of
those sleep locks were introduced.  This will save a (quite) small
amount of memory in all kernel configurations.  The sleep mutex pool is
retained as it is used for 'struct bio' and several other consumers.

Discussed with: jhb
MFC after: 3 days
sys/kern/kern_mtxpool.c
sys/sys/kernel.h
sys/sys/mutex.h