summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-01-22 23:47:29 +0000
committermav <mav@FreeBSD.org>2014-01-22 23:47:29 +0000
commit76d8788652a3da858c696457a1903a205f3684e7 (patch)
treeb813eee2994654aa8371b1da8f4f503f4dd35fb5 /sys/fs
parent01e3debc7e24dfa40ae5ba8fdd9bf0142cfe4593 (diff)
downloadFreeBSD-src-76d8788652a3da858c696457a1903a205f3684e7.zip
FreeBSD-src-76d8788652a3da858c696457a1903a205f3684e7.tar.gz
MFC r259659, r259662:
Remove several linear list traversals per request from RPC server code. Do not insert active ports into pool->sp_active list if they are success- fully assigned to some thread. This makes that list include only ports that really require attention, and so traversal can be reduced to simple taking the first one. Remove idle thread from pool->sp_idlethreads list when assigning some work (port of requests) to it. That again makes possible to replace list traversals with simple taking the first element.
Diffstat (limited to 'sys/fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud