]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[mips] make UMTX_CHAINS configurable at compile time.
authorAdrian Chadd <adrian@FreeBSD.org>
Tue, 15 Nov 2016 01:34:38 +0000 (01:34 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Tue, 15 Nov 2016 01:34:38 +0000 (01:34 +0000)
commit0046bef85a49d6f58542c9fdb3ae2b35c599824d
tree742e0e3e4a87a5ec5550b96544ed8be00b4db3f0
parent7e9a1606428007a73927f27e9c0f82769f2c0dcb
[mips] make UMTX_CHAINS configurable at compile time.

The default (512) wastes quite a bit of space which doesn't really buy
us much on highly embedded systems which don't take a lot of locks in
parallel.

This makes it at least build time configurable so people can experiment.
sys/conf/options
sys/kern/kern_umtx.c