Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(323)

Issue 7310096: code review 7310096: runtime: ensure forward progress of runtime.Gosched() f... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by dvyukov
Modified:
12 years, 2 months ago
Reviewers:
dave
CC:
golang-dev, rsc
Visibility:
Public.

Description

runtime: ensure forward progress of runtime.Gosched() for locked goroutines The removed code leads to the situation when M executes the same locked G again and again. Fixes issue 4820.

Patch Set 1 #

Patch Set 2 : diff -r e92503ce815b https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r e92503ce815b https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 4 : diff -r 70a50cc39caf https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -8 lines) Patch
M src/pkg/runtime/proc.c View 1 1 chunk +0 lines, -8 lines 0 comments Download
M src/pkg/runtime/proc_test.go View 1 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 5
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
12 years, 2 months ago (2013-02-15 15:28:16 UTC) #1
rsc
LGTM, I guess. As written the test case is too trivial to care (see my ...
12 years, 2 months ago (2013-02-15 17:16:19 UTC) #2
dvyukov
On 2013/02/15 17:16:19, rsc wrote: > LGTM, I guess. > > As written the test ...
12 years, 2 months ago (2013-02-15 17:33:32 UTC) #3
dvyukov
*** Submitted as https://code.google.com/p/go/source/detail?r=59da6744d66d *** runtime: ensure forward progress of runtime.Gosched() for locked goroutines The ...
12 years, 2 months ago (2013-02-15 18:31:22 UTC) #4
dave_cheney.net
12 years, 2 months ago (2013-02-15 22:49:26 UTC) #5
This has caused some build breakage. Would you please consider rolling it back.

On Sat, Feb 16, 2013 at 5:31 AM,  <dvyukov@google.com> wrote:
> *** Submitted as
> https://code.google.com/p/go/source/detail?r=59da6744d66d ***
>
>
> runtime: ensure forward progress of runtime.Gosched() for locked
> goroutines
> The removed code leads to the situation when M executes the same locked
> G again and again.
> Fixes issue 4820.
>
> R=golang-dev, rsc
> CC=golang-dev
> https://codereview.appspot.com/7310096
>
>
>
> https://codereview.appspot.com/7310096/
>
> --
>
> ---You received this message because you are subscribed to the Google Groups
> "golang-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-dev+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b