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

Issue 2009045: code review 2009045: runtime(windows): make sure scheduler runs on os stack ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 8 months ago by brainman
Modified:
14 years, 7 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

runtime: new windows stdcall implementation

Patch Set 1 #

Total comments: 6

Patch Set 2 : code review 2009045: runtime(windows): make sure scheduler runs on os stack ... #

Total comments: 14

Patch Set 3 : code review 2009045: runtime(windows): make sure scheduler runs on os stack ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -110 lines) Patch
M src/pkg/runtime/proc.c View 2 1 chunk +5 lines, -1 line 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M src/pkg/runtime/windows/386/sys.s View 1 2 1 chunk +76 lines, -61 lines 0 comments Download
M src/pkg/runtime/windows/os.h View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M src/pkg/runtime/windows/syscall.goc View 1 2 7 chunks +7 lines, -12 lines 0 comments Download
M src/pkg/runtime/windows/thread.c View 1 2 3 chunks +18 lines, -29 lines 0 comments Download

Messages

Total messages: 14
rsc1
Seems reasonable. http://codereview.appspot.com/2009045/diff/1/2 File src/pkg/runtime/386/asm.s (right): http://codereview.appspot.com/2009045/diff/1/2#newcode60 src/pkg/runtime/386/asm.s:60: SUBL $(0xbbb), SP Can drop the parens ...
14 years, 8 months ago (2010-08-27 01:34:28 UTC) #1
brainman
http://codereview.appspot.com/2009045/diff/1/2 File src/pkg/runtime/386/asm.s (right): http://codereview.appspot.com/2009045/diff/1/2#newcode60 src/pkg/runtime/386/asm.s:60: SUBL $(0xbbb), SP > Can drop the parens here: ...
14 years, 8 months ago (2010-08-27 02:34:34 UTC) #2
rsc
> When any windows program starts, os is given 2 stack parameters > SizeOfStackReserve and ...
14 years, 8 months ago (2010-08-27 02:45:11 UTC) #3
brainman
> I think this is overkill. Go won't have such big stacks, > and calling ...
14 years, 8 months ago (2010-08-27 03:31:02 UTC) #4
rsc
On Thu, Aug 26, 2010 at 23:31, <alex.brainman@gmail.com> wrote: >> I think this is overkill. ...
14 years, 8 months ago (2010-08-27 03:38:03 UTC) #5
brainman
> Yes. You should let the OS make it. When the OS allocates it > ...
14 years, 8 months ago (2010-08-27 03:47:51 UTC) #6
rsc
On Thu, Aug 26, 2010 at 23:47, <alex.brainman@gmail.com> wrote: >> Yes. You should let the ...
14 years, 8 months ago (2010-08-27 04:05:45 UTC) #7
brainman
> ... Laying them out below the > part of the stack that Go is ...
14 years, 8 months ago (2010-08-27 04:10:04 UTC) #8
brainman
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 8 months ago (2010-09-03 00:55:37 UTC) #9
rsc1
http://codereview.appspot.com/2009045/diff/11001/src/pkg/runtime/mkasmh.sh File src/pkg/runtime/mkasmh.sh (right): http://codereview.appspot.com/2009045/diff/11001/src/pkg/runtime/mkasmh.sh#newcode85 src/pkg/runtime/mkasmh.sh:85: /^aggr CgoThreadStart$/ { aggr = "cgots" } Shouldn't need ...
14 years, 7 months ago (2010-09-08 15:36:54 UTC) #10
brainman
Thank you for review. http://codereview.appspot.com/2009045/diff/11001/src/pkg/runtime/mkasmh.sh File src/pkg/runtime/mkasmh.sh (right): http://codereview.appspot.com/2009045/diff/11001/src/pkg/runtime/mkasmh.sh#newcode85 src/pkg/runtime/mkasmh.sh:85: /^aggr CgoThreadStart$/ { aggr = ...
14 years, 7 months ago (2010-09-10 03:04:06 UTC) #11
brainman
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 7 months ago (2010-09-10 03:04:19 UTC) #12
rsc1
LGTM
14 years, 7 months ago (2010-09-10 17:28:25 UTC) #13
brainman
14 years, 7 months ago (2010-09-12 01:45:24 UTC) #14
*** Submitted as http://code.google.com/p/go/source/detail?r=4b5d59d1660c ***

runtime(windows): make sure scheduler runs on os stack and new stdcall
implementation

R=rsc
CC=golang-dev
http://codereview.appspot.com/2009045

Committer: Alex Brainman <alex.brainman@gmail.com>
Sign in to reply to this message.

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