]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't call fixup_filename() on each witness lock call.
authoradrian <adrian@FreeBSD.org>
Wed, 12 Oct 2011 09:21:02 +0000 (09:21 +0000)
committeradrian <adrian@FreeBSD.org>
Wed, 12 Oct 2011 09:21:02 +0000 (09:21 +0000)
commit7c88ef5a97d294739f577ab35c932712e9c6ca3b
tree08bc738a884754ac13907e065cd6afc1a712c031
parent73794a4f91ea091483eab802a9aea9e396e3b089
Don't call fixup_filename() on each witness lock call.

This has been irking me for a while. This causes significant
CPU use on bottlenecked CPUs (eg my older EEEPC w/ an earlier
Celeron CPU and my MIPS24k boards) when they're passing
a lot of traffic.

Since the file/line values are only used for printing, this
should only affect display. It should have no operational
change on the code, besides reducing CPU use.
sys/kern/subr_witness.c