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

Issue 880043: code review 880043: runtime: fix bug in GOMAXPROCS when trying to cut numbe... (Closed)

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

Description

runtime: two proc bug fixes 1. Fix bug in GOMAXPROCS when trying to cut number of procs Race could happen on any system but was manifesting only on Xen hosted Linux. 2. Fix recover on ARM, where FP != caller SP.

Patch Set 1 #

Patch Set 2 : code review 880043: runtime: fix bug in GOMAXPROCS when trying to cut numbe... #

Patch Set 3 : code review 880043: runtime: fix bug in GOMAXPROCS when trying to cut numbe... #

Patch Set 4 : code review 880043: runtime: two proc bug fixes #

Patch Set 5 : code review 880043: runtime: two proc bug fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -6 lines) Patch
M src/pkg/runtime/proc.c View 1 2 3 3 chunks +13 lines, -6 lines 0 comments Download
M test/recover2.go View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7
rsc
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 12 months ago (2010-04-05 23:48:10 UTC) #1
r
i don't see the recover fix, unless it's the same fix.
14 years, 11 months ago (2010-04-06 18:41:25 UTC) #2
rsc
PTAL uploaded On Tue, Apr 6, 2010 at 11:41, <r@golang.org> wrote: > i don't see ...
14 years, 11 months ago (2010-04-06 18:46:26 UTC) #3
r
LGTM although i still don't understand the ARM comment
14 years, 11 months ago (2010-04-06 18:56:07 UTC) #4
rsc
the call to getcallersp is what fixes the arm. On Tue, Apr 6, 2010 at ...
14 years, 11 months ago (2010-04-06 20:37:18 UTC) #5
rsc
the call to getcallersp is what fixes the arm. getcallersp is a no-op on non-arm ...
14 years, 11 months ago (2010-04-06 20:37:38 UTC) #6
rsc
14 years, 11 months ago (2010-04-06 20:48:35 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=d403007a8e4b ***

runtime: two proc bug fixes

1. Fix bug in GOMAXPROCS when trying to cut number of procs
Race could happen on any system but was
manifesting only on Xen hosted Linux.

2. Fix recover on ARM, where FP != caller SP.

R=r
CC=golang-dev
http://codereview.appspot.com/880043
Sign in to reply to this message.

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