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

Issue 138390043: code review 138390043: runtime: convert solaris netpoll to Go

Can't Edit
Can't Publish Mail
Start Review
Created:
10 years ago by dvyukov
Modified:
9 years, 9 months ago
Reviewers:
aram
CC:
rsc, khr, aram2, aram, dave_cheney.net, golang-codereviews
Visibility:
Public.

Description

runtime: convert solaris netpoll to Go One C file less. This is the last of C netpolls, so all C support goes away as well. Also revert onM calls in netpoll.go as they are not necessary (assuming that "139620043: runtime: convert windows netpoll to Go" is submitted).

Patch Set 1 #

Patch Set 2 : diff -r d0331dfbc0539eae77723d8bc0bdb4c42a8b0c15 https://[email protected]@code.google.com/p/go/ #

Patch Set 3 : diff -r d0331dfbc0539eae77723d8bc0bdb4c42a8b0c15 https://[email protected]@code.google.com/p/go/ #

Patch Set 4 : diff -r d0331dfbc0539eae77723d8bc0bdb4c42a8b0c15 https://[email protected]@code.google.com/p/go/ #

Patch Set 5 : diff -r d0331dfbc0539eae77723d8bc0bdb4c42a8b0c15 https://[email protected]@code.google.com/p/go/ #

Patch Set 6 : diff -r d0331dfbc0539eae77723d8bc0bdb4c42a8b0c15 https://[email protected]@code.google.com/p/go/ #

Total comments: 17

Patch Set 7 : diff -r d0331dfbc0539eae77723d8bc0bdb4c42a8b0c15 https://[email protected]@code.google.com/p/go/ #

Patch Set 8 : diff -r d0331dfbc0539eae77723d8bc0bdb4c42a8b0c15 https://[email protected]@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats ( 144 lines, -193 lines) Patch
M src/runtime/netpoll.go View 1 2 3 6 chunks 12 lines, -39 lines 0 comments Download
M src/runtime/netpoll_solaris.go View 1 2 3 4 5 6 8 chunks 112 lines, -143 lines 0 comments Download
M src/runtime/os_solaris.c View 1 2 3 4 5 6 7 1 chunk 4 lines, -0 lines 0 comments Download
M src/runtime/os_solaris.go View 1 1 chunk 0 lines, -4 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 2 chunks 0 lines, -7 lines 0 comments Download
M src/runtime/thunk_solaris_amd64.s View 1 2 3 4 5 6 1 chunk 16 lines, -0 lines 0 comments Download

Messages

Total messages: 14
dvyukov
Hello [email protected], [email protected], [email protected], [email protected] (cc: [email protected]), I'd like you to review this change to ...
10 years ago (2014-09-12 23:57:51 UTC) #1
dvyukov
I have not tested it, only did GOOS=solaris build. Aram, can you please test it ...
10 years ago (2014-09-12 23:58:29 UTC) #2
dave_cheney.net
Thanks Dmitry, I'll test this today. On 13 Sep 2014 09:58, "dvyukov via golang-codereviews" < ...
10 years ago (2014-09-13 00:26:05 UTC) #3
dave_cheney.net
On 2014/09/13 00:26:05, dfc wrote: > Thanks Dmitry, I'll test this today. Opps, I've hit ...
10 years ago (2014-09-13 02:09:06 UTC) #4
dave_cheney.net
Sorry, this might be PEBCAK, my solaris install has an ancient version of mercurial which ...
10 years ago (2014-09-13 02:11:58 UTC) #5
dvyukov
netpoll_solaris.c is deleted by this CL (even if Rietveld does not show it).
10 years ago (2014-09-13 02:23:21 UTC) #6
dave_cheney.net
Chnage looks good to me and passes on my solaris builder. Please wait for Aram ...
10 years ago (2014-09-13 02:27:07 UTC) #7
aram
LGTM https://codereview.appspot.com/138390043/diff/100001/src/runtime/netpoll_solaris.go File src/runtime/netpoll_solaris.go (right): https://codereview.appspot.com/138390043/diff/100001/src/runtime/netpoll_solaris.go#newcode70 src/runtime/netpoll_solaris.go:70: func libcfcntlfunc() *libcFunc For all others libc.so functions ...
10 years ago (2014-09-13 08:56:49 UTC) #8
dvyukov
PTAL I would appreciate another round of testing on solaris taking into account that the ...
10 years ago (2014-09-13 16:07:43 UTC) #9
aram
LGTM Tested on 32-core Solaris in a loop for an hour, it works. https://codereview.appspot.com/138390043/diff/100001/src/runtime/netpoll_solaris.go File ...
10 years ago (2014-09-13 18:05:19 UTC) #10
rsc
Why are we doing this now? Is it fixing any bugs? I can't see that ...
10 years ago (2014-09-13 18:06:33 UTC) #11
dvyukov
onM is only a stop gap, we generally don't to it unless there is no ...
10 years ago (2014-09-13 18:41:11 UTC) #12
rsc
On Sat, Sep 13, 2014 at 2:40 PM, Dmitry Vyukov <[email protected]> wrote: > onM is ...
10 years ago (2014-09-14 14:30:34 UTC) #13
gobot
9 years, 9 months ago (2014-12-19 05:12:58 UTC) #14
R=close

To the author of this CL:

The Go project has moved to Gerrit Code Review.

If this CL should be continued, please see the latest version of
https://golang.org/doc/contribute.html for instructions on
how to set up Git and the Go project's Gerrit codereview plugin,
and then create a new change with your current code.

If there has been discussion on this CL, please give a link to it
(golang.org/cl/138390043 is best) in the description in your
new CL.

Thanks very much.
Sign in to reply to this message.

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