Re: [PATCH v4 30/43] hpsa: performance tweak for hpsa_scatter_gather()

2015-04-17 Thread Hannes Reinecke
On 04/16/2015 03:49 PM, Don Brace wrote: From: Webb Scales web...@hp.com Divide the loop in hpsa_scatter_gather() into two, one for the initial SG list and a second one for the chained list, if any. This allows the conditional check which resets the indicies for the chained list to be

Re: [PATCH v4 30/43] hpsa: performance tweak for hpsa_scatter_gather()

2015-04-17 Thread Tomas Henzl
On 04/16/2015 03:49 PM, Don Brace wrote: From: Webb Scales web...@hp.com Divide the loop in hpsa_scatter_gather() into two, one for the initial SG list and a second one for the chained list, if any. This allows the conditional check which resets the indicies for the chained list to be

[PATCH v4 30/43] hpsa: performance tweak for hpsa_scatter_gather()

2015-04-16 Thread Don Brace
From: Webb Scales web...@hp.com Divide the loop in hpsa_scatter_gather() into two, one for the initial SG list and a second one for the chained list, if any. This allows the conditional check which resets the indicies for the chained list to be performed outside the loop instead of being done on