summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ohci.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-01-05 22:38:44 +0000
committermav <mav@FreeBSD.org>2014-01-05 22:38:44 +0000
commiteb69a5b0d10751893c78f04bb85fea20a4d053a2 (patch)
treedff17b1fb2eeb8e81eb64a69f166afb244348da0 /sys/dev/usb/controller/ohci.c
parentcebac06b67f84af73f7b568c736a308e9db16fb3 (diff)
downloadFreeBSD-src-eb69a5b0d10751893c78f04bb85fea20a4d053a2.zip
FreeBSD-src-eb69a5b0d10751893c78f04bb85fea20a4d053a2.tar.gz
MFC r256705:
Optimize isp(4) to reduce CPU usage, especially in target mode: - Remove two excessive and slow register reads from isp_intr(). Instead of rereading value every time, assume that registers contain what we have written there. - Avoid sequential search through 4096 array elements when looking for command tag. Use hash of lists to store active tags separately from free ones and so greatly speedup the searches.
Diffstat (limited to 'sys/dev/usb/controller/ohci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud