summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-07-20 01:43:27 +0000
committerjeff <jeff@FreeBSD.org>2005-07-20 01:43:27 +0000
commit1b2743636cf7931f817712daaed5e6d2e3701222 (patch)
tree2a9479680e9307e07ee384e4c3fd67c4201231b1 /sys/netinet6/ip6_input.c
parent97b7bcd777777b43d99c1481bce11de3fd33ad08 (diff)
downloadFreeBSD-src-1b2743636cf7931f817712daaed5e6d2e3701222.zip
FreeBSD-src-1b2743636cf7931f817712daaed5e6d2e3701222.tar.gz
- Allow vnlru to drop giant if the filesystem does not require it. The
vnlru proc is extremely inefficient, potentially iteration over tens of thousands of vnodes without blocking. Droping Giant allows other threads to preempt us although we should revisit the algorithm to fix the runtime problems especially since this may hold up all vnode allocations. - Remove the LK_NOWAIT from the VOP_LOCK in vlrureclaim. This provides a natural blocking point to help alleviate the situation described above although it may not technically be desirable. - yield after we make a pass on all mount points to prevent us from blocking other threads which require Giant. MFC after: 2 weeks
Diffstat (limited to 'sys/netinet6/ip6_input.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud