Re: [RFC PATCH v2 1/3] Introduce coroutines framework

2025-02-03 Thread Ahmad Fatoum
Hi, On 31.01.25 17:10, Yao Zi wrote: > On Tue, Jan 28, 2025 at 11:19:15AM +0100, Jerome Forissier wrote: >> +.globl _co_switch >> +.type _co_switch, @function >> +_co_switch: >> +// x0: from_co >> +// x1: to_co >> +// from_co and to_co layout: { pc, sp, x19-x29 } >> + >> +// Save

Re: [RFC PATCH v2 1/3] Introduce coroutines framework

2025-01-31 Thread Yao Zi
On Tue, Jan 28, 2025 at 11:19:15AM +0100, Jerome Forissier wrote: > Adds the COROUTINES Kconfig symbol which introduces a new internal API > for coroutines support. As explained in the Kconfig file, this is meant > to provide some kind of cooperative multi-tasking with the goal to > improve perform

Re: [RFC PATCH v2 1/3] Introduce coroutines framework

2025-01-28 Thread Jerome Forissier
On 1/28/25 12:09, Michal Simek wrote: > > > On 1/28/25 11:19, Jerome Forissier wrote: >> Adds the COROUTINES Kconfig symbol which introduces a new internal API >> for coroutines support. As explained in the Kconfig file, this is meant >> to provide some kind of cooperative multi-tasking with t

Re: [RFC PATCH v2 1/3] Introduce coroutines framework

2025-01-28 Thread Michal Simek
On 1/28/25 11:19, Jerome Forissier wrote: Adds the COROUTINES Kconfig symbol which introduces a new internal API for coroutines support. As explained in the Kconfig file, this is meant to provide some kind of cooperative multi-tasking with the goal to improve performance by overlapping lengthy

[RFC PATCH v2 1/3] Introduce coroutines framework

2025-01-28 Thread Jerome Forissier
Adds the COROUTINES Kconfig symbol which introduces a new internal API for coroutines support. As explained in the Kconfig file, this is meant to provide some kind of cooperative multi-tasking with the goal to improve performance by overlapping lengthy operations. The API as well as the implementa