Linus Torvalds writes: (Summary) On Tue, Aug 22, 2017 at 1:53 PM, Peter Zijlstra <peterz@infradead.org> wrote:
I thought we had explicitly defined yield() to not do that. I thought we had explicitly defined yield() to not do that. But I guess we could make this yielding behavior depend on a few more heuristics. So do the yield only when there is contention, and when it's a non-RT task.
it's a non-RT task.
Linus
Linus
Linus
[...]
lock to make progress at all.I thought we had explicitly defined yield() to not do that. I thought we had explicitly defined yield() to not do that. But I guess we could make this yielding behavior depend on a few more heuristics. So do the yield only when there is contention, and when it's a non-RT task.
it's a non-RT task.
Linus
Linus
Linus