[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170425.115719.263296095647066449.davem@davemloft.net>
Date: Tue, 25 Apr 2017 11:57:19 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: stephen@...workplumber.org
Cc: netdev@...r.kernel.org, sthemmin@...rosoft.com
Subject: Re: [PATCH net] netvsc: fix calculation of available send sections
From: Stephen Hemminger <stephen@...workplumber.org>
Date: Mon, 24 Apr 2017 18:33:38 -0700
> 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@...rosoft.com>
Applied, thanks.
Powered by blists - more mailing lists