summaryrefslogtreecommitdiff
path: root/fs/hugetlbfs
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-04-24 18:33:38 -0700
committerDavid S. Miller <davem@davemloft.net>2017-04-25 11:56:59 -0400
commitfdfb70d275223b9d69d5d3abe1f88507da579139 (patch)
tree72bc1cd4a60af46c4250234ae2a968660eac8d3c /fs/hugetlbfs
parenta23f6ce6d95900ca83b44b6fa691afe6c7d4b941 (diff)
netvsc: fix calculation of available send sections
My change (introduced in 4.11) to use find_first_clear_bit incorrectly assumed that the size argument was words, not bits. The effect was only a small limited number of the available send sections were being actually used. This can cause performance loss with some workloads. Since map_words is now used only during initialization, it can be on stack instead of in per-device data. Fixes: b58a185801da ("netvsc: simplify get next send section") Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/hugetlbfs')
0 files changed, 0 insertions, 0 deletions