# Re: \[PATCH v2 09/16\] dmaengine: bcm-sba-raid: Improve sba\_issue\_pending() run duration

- From: Anup Patel \<hidden\>
- Date: 2017-08-18 06:12:19 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2017/08/5070187
- Thread: https://ratatoskr.run/linux-arm-kernel/2017/08/5056400/t.md

```text
On Thu, Aug 17, 2017 at 12:06 PM, Vinod Koul [ref] wrote:
> On Tue, Aug 01, 2017 at 04:07:53PM +0530, Anup Patel wrote:
>> The pending sba_request list can become very long in real-life usage
>> (e.g. setting up RAID array) which can cause sba_issue_pending() to
>> run for long duration.
>
> that raises the warning flags.. Even if we have a long pending list why
> would issue_pending run for long. The purpose of the issue_pending() is to
> submit a txn if idle and return. The interrupt and tasklet shall push the
> subsequent txn to hardware...

Yes, we are doing very similar thing in PATCH13 by further
simplifying sba_process_deferred_requests()

Regards,
Anup
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
