[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH 6/6] ide: introduce ide_transfer_st
From: |
John Snow |
Subject: |
Re: [Qemu-block] [Qemu-devel] [PATCH 6/6] ide: introduce ide_transfer_start_norecurse |
Date: |
Fri, 1 Jun 2018 21:17:12 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 04/17/2018 11:39 AM, Paolo Bonzini wrote:
> For the case where the end_transfer_func is also the caller of
> ide_transfer_start, the mutual recursion can lead to unlimited
> stack usage. Introduce a new version that can be used to change
> tail recursion into a loop, and use it in trace_ide_atapi_cmd_reply_end.
probably you mean ide_atapi_cmd_reply_end
>
> Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: John Snow <address@hidden>
- Re: [Qemu-block] [Qemu-devel] [PATCH 6/6] ide: introduce ide_transfer_start_norecurse,
John Snow <=