On Mon, Jun 3, 2019 at 9:44 AM Cherry Zhang wrote:
>
> On Mon, Jun 3, 2019 at 12:00 PM Jakub Jelinek wrote:
>>
>> On Mon, Jun 03, 2019 at 05:51:26PM +0200, Thomas Schwinge wrote:
>> > Hi!
>> >
>> > On Fri, 31 May 2019 10:56:43 -0700, Ian Lance Taylor
>> > wrote:
>> > > This libgo patch by Cherr
On Mon, Jun 3, 2019 at 12:00 PM Jakub Jelinek wrote:
> On Mon, Jun 03, 2019 at 05:51:26PM +0200, Thomas Schwinge wrote:
> > Hi!
> >
> > On Fri, 31 May 2019 10:56:43 -0700, Ian Lance Taylor
> wrote:
> > > This libgo patch by Cherry Zhang implements cheaper goroutine context
> > > switches on x86_
On Mon, Jun 03, 2019 at 05:51:26PM +0200, Thomas Schwinge wrote:
> Hi!
>
> On Fri, 31 May 2019 10:56:43 -0700, Ian Lance Taylor wrote:
> > This libgo patch by Cherry Zhang implements cheaper goroutine context
> > switches on x86_64 GNU/Linux. [...]
>
> > Bootstrapped and tested on x86_64-pc-lin
Hi!
On Fri, 31 May 2019 10:56:43 -0700, Ian Lance Taylor wrote:
> This libgo patch by Cherry Zhang implements cheaper goroutine context
> switches on x86_64 GNU/Linux. [...]
> Bootstrapped and tested on x86_64-pc-linux-gnu. Committed to mainline.
> --- libgo/runtime/go-context.S(nonex
This libgo patch by Cherry Zhang implements cheaper goroutine context
switches on x86_64 GNU/Linux.
Currently, goroutine switches are implemented with libc
getcontext/setcontext functions, which saves/restores the machine
register states and also the signal context. This does more than what
we ne