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

Issue 123640043: code review 123640043: runtime: convert common scheduler functions to Go (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by dvyukov
Modified:
10 years, 6 months ago
Reviewers:
gobot, khr, josharian
CC:
golang-codereviews, khr, rlh, rsc
Visibility:
Public.

Description

runtime: convert common scheduler functions to Go These are required for chans, semaphores, timers, etc.

Patch Set 1 #

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

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

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

Patch Set 5 : diff -r 9985ecf9828f87d8887550109060357e2163ab8a https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 6 : diff -r 9985ecf9828f87d8887550109060357e2163ab8a https://dvyukov%40google.com@code.google.com/p/go/ #

Total comments: 4

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -50 lines) Patch
M src/cmd/api/goapi.go View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/gc/select.c View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/asm_386.s View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/runtime/asm_amd64.s View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/runtime/asm_amd64p32.s View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/pkg/runtime/asm_arm.s View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/runtime/chan.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/chan.goc View 1 2 3 4 5 6 8 chunks +8 lines, -8 lines 0 comments Download
M src/pkg/runtime/heapdump.c View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/malloc.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M src/pkg/runtime/mgc0.c View 1 2 3 4 5 6 5 chunks +5 lines, -4 lines 0 comments Download
M src/pkg/runtime/netpoll.goc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/proc.c View 1 2 3 4 5 6 9 chunks +32 lines, -21 lines 0 comments Download
M src/pkg/runtime/proc.go View 1 2 3 4 5 6 1 chunk +71 lines, -0 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/runtime/sema.goc View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/stack.c View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/stubs.go View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M src/pkg/runtime/stubs.goc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/pkg/runtime/time.goc View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 10
dvyukov
Hello golang-codereviews@googlegroups.com (cc: khr@golang.org, rlh@golang.org, rsc@golang.org), I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
10 years, 6 months ago (2014-08-20 16:34:07 UTC) #1
dvyukov
Keith, let's get this is asap. It will simplify your chans change; sync semaphores, async ...
10 years, 6 months ago (2014-08-20 16:43:41 UTC) #2
rsc
R=khr looks good to me https://codereview.appspot.com/123640043/diff/100001/src/pkg/runtime/proc.go File src/pkg/runtime/proc.go (right): https://codereview.appspot.com/123640043/diff/100001/src/pkg/runtime/proc.go#newcode10 src/pkg/runtime/proc.go:10: gStatusidle = iota s/idle/Idle/ ...
10 years, 6 months ago (2014-08-20 18:21:40 UTC) #3
khr
What is nrelease for? It isn't used in this CL. I think it is a ...
10 years, 6 months ago (2014-08-20 18:25:01 UTC) #4
dvyukov
On 2014/08/20 18:25:01, khr wrote: > What is nrelease for? It isn't used in this ...
10 years, 6 months ago (2014-08-21 05:45:33 UTC) #5
dvyukov
PTAL https://codereview.appspot.com/123640043/diff/100001/src/pkg/runtime/proc.go File src/pkg/runtime/proc.go (right): https://codereview.appspot.com/123640043/diff/100001/src/pkg/runtime/proc.go#newcode27 src/pkg/runtime/proc.go:27: // reason must be a static string so ...
10 years, 6 months ago (2014-08-21 12:17:54 UTC) #6
khr
LGTM.
10 years, 6 months ago (2014-08-21 16:26:08 UTC) #7
dvyukov
*** Submitted as https://code.google.com/p/go/source/detail?r=c71ebc62909c *** runtime: convert common scheduler functions to Go These are required ...
10 years, 6 months ago (2014-08-21 16:41:15 UTC) #8
josharian
vet doesn't like the amd64 runtime·gocputicks: pkg/runtime/asm_amd64.s:958: [amd64] invalid MOVL of ret+0(FP); int64 is 8-byte ...
10 years, 6 months ago (2014-08-21 17:51:22 UTC) #9
gobot
10 years, 6 months ago (2014-08-21 17:59:34 UTC) #10
Message was sent while issue was closed.
This CL appears to have broken the nacl-amd64p32 builder.
See http://build.golang.org/log/f7618ac649e96718c56701364f541a1b735f722f
Sign in to reply to this message.

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