Re: Justifying sched_yield() in the RTS

2020-05-01 Thread Ben Gamari
Ben Gamari writes: > Travis Whitaker writes: > >> Hello GHC devs, >> >> Through the course of reading some recent material posted by Linus >> Torvalds ^1 ^2, I remembered stumbling upon GHC Trac #3553 ^3 some >> years ago. >> > For what it's worth Simon Marlow and I discussed this a few weeks

Re: Justifying sched_yield() in the RTS

2020-05-01 Thread Ben Gamari
Travis Whitaker writes: > Hello GHC devs, > > Through the course of reading some recent material posted by Linus > Torvalds ^1 ^2, I remembered stumbling upon GHC Trac #3553 ^3 some > years ago. > For what it's worth Simon Marlow and I discussed this a few weeks ago and he agreed that it would

Re: Justifying sched_yield() in the RTS

2020-05-01 Thread Niklas Hambüchen
There are more related updates in https://gitlab.haskell.org/ghc/ghc/issues/9221, also including a short discussion of Linus's post. Simon Marlow's overall response was: > I'm very supportive of making this better, but as usual I will require > thorough data to back up any changes :) > >

Justifying sched_yield() in the RTS

2020-05-01 Thread Travis Whitaker
Hello GHC devs, Through the course of reading some recent material posted by Linus Torvalds ^1 ^2, I remembered stumbling upon GHC Trac #3553 ^3 some years ago. Looking past the harsh tone Linus used in his notes, I think he makes some pretty reasonable points about the problems that can be