Message ID | 20201111001955.533210-1-anthony.l.nguyen@intel.com (mailing list archive) |
---|---|
Headers | show |
Series | Intel Wired LAN Driver Updates 2020-11-10 | expand |
On Tue, 10 Nov 2020 16:19:51 -0800 Tony Nguyen wrote: > This series contains updates to i40e and igc drivers and the MAINTAINERS > file. > > Slawomir fixes updating VF MAC addresses to fix various issues related > to reporting and setting of these addresses for i40e. > > Dan Carpenter fixes a possible used before being initialized issue for > i40e. > > Vinicius fixes reporting of netdev stats for igc. > > Tony updates repositories for Intel Ethernet Drivers. Pulled, thanks! Please double check the use of the spin lock in patch 3. Stats are updated in an atomic context when read from /proc, you probably need to convert that spin lock to _bh.
On Thu, 2020-11-12 at 08:55 -0800, Jakub Kicinski wrote: > On Tue, 10 Nov 2020 16:19:51 -0800 Tony Nguyen wrote: > > This series contains updates to i40e and igc drivers and the > > MAINTAINERS > > file. > > > > Slawomir fixes updating VF MAC addresses to fix various issues > > related > > to reporting and setting of these addresses for i40e. > > > > Dan Carpenter fixes a possible used before being initialized issue > > for > > i40e. > > > > Vinicius fixes reporting of netdev stats for igc. > > > > Tony updates repositories for Intel Ethernet Drivers. > > Pulled, thanks! > > Please double check the use of the spin lock in patch 3. Stats are > updated in an atomic context when read from /proc, you probably need > to convert that spin lock to _bh. Thanks Jakub. I'll look into it.
Jakub Kicinski <kuba@kernel.org> writes: > > Pulled, thanks! > > Please double check the use of the spin lock in patch 3. Stats are > updated in an atomic context when read from /proc, you probably need > to convert that spin lock to _bh. I just did some tests with lockdep enabled, reading from /proc/net/dev in a loop, and everything seems fine. Am I missing something? Cheers,
On Thu, 12 Nov 2020 11:55:24 -0800 Vinicius Costa Gomes wrote: > Jakub Kicinski <kuba@kernel.org> writes: > > > > Pulled, thanks! > > > > Please double check the use of the spin lock in patch 3. Stats are > > updated in an atomic context when read from /proc, you probably need > > to convert that spin lock to _bh. > > I just did some tests with lockdep enabled, reading from /proc/net/dev > in a loop, and everything seems fine. Am I missing something? Indeed /proc only takes the RCU lock so you should be fine, thanks for checking.