Re: [PATCH net-next v2 3/7] ibmvnic: avoid allocating rwi entries

2021-01-12 Thread Sukadev Bhattiprolu
ixing the comment style. Thanks Sukadev --- >From 59d4b23fe1f97a67436e14829368744ee288157d Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Wed, 16 Dec 2020 23:00:34 -0600 Subject: [PATCH net-next v2 3/7] ibmvnic: avoid allocating rwi entries Whenever we need to schedule a reset, we allocate an rwi (reset work item?) entry

Re: [PATCH net-next v2 3/7] ibmvnic: avoid allocating rwi entries

2021-01-12 Thread Saeed Mahameed
On Tue, 2021-01-12 at 10:14 -0800, Sukadev Bhattiprolu wrote: > Whenever we need to schedule a reset, we allocate an rwi (reset work > item?) entry and add to the list of pending resets. > > Since we only add one rwi for a given reason type to the list (no > duplicates). > we will only have a hand

[PATCH net-next v2 3/7] ibmvnic: avoid allocating rwi entries

2021-01-12 Thread Sukadev Bhattiprolu
Whenever we need to schedule a reset, we allocate an rwi (reset work item?) entry and add to the list of pending resets. Since we only add one rwi for a given reason type to the list (no duplicates). we will only have a handful of reset types in the list - even in the worst case. In the common cas