Re: [PATCH 02/15] hisi_sas: save delivery queue write pointer

2016-09-14 Thread Hannes Reinecke
On 09/06/2016 05:36 PM, John Garry wrote: > Optimise by saving an avoidable read in the > get_free_slot function. > The delivery queue write pointer will only be > updated by software, so don't bother re-reading > what was already written in the previous call > to start_delivery function. > >

Re: [PATCH 02/15] hisi_sas: save delivery queue write pointer

2016-09-14 Thread Hannes Reinecke
On 09/06/2016 05:36 PM, John Garry wrote: > Optimise by saving an avoidable read in the > get_free_slot function. > The delivery queue write pointer will only be > updated by software, so don't bother re-reading > what was already written in the previous call > to start_delivery function. > >

[PATCH 02/15] hisi_sas: save delivery queue write pointer

2016-09-06 Thread John Garry
Optimise by saving an avoidable read in the get_free_slot function. The delivery queue write pointer will only be updated by software, so don't bother re-reading what was already written in the previous call to start_delivery function. Signed-off-by: John Garry ---

[PATCH 02/15] hisi_sas: save delivery queue write pointer

2016-09-06 Thread John Garry
Optimise by saving an avoidable read in the get_free_slot function. The delivery queue write pointer will only be updated by software, so don't bother re-reading what was already written in the previous call to start_delivery function. Signed-off-by: John Garry ---