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

Issue 4674049: code review 4674049: runtime: eliminate false sharing on random number generators (Closed)

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

Description

runtime: eliminate false sharing on random number generators Use machine-local random number generator instead of racy global ones.

Patch Set 1 #

Patch Set 2 : diff -r f9725ff92a0c https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r f9725ff92a0c https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r f9725ff92a0c https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -29 lines) Patch
M src/pkg/runtime/chan.c View 1 2 chunks +2 lines, -13 lines 0 comments Download
M src/pkg/runtime/malloc.goc View 1 2 2 chunks +1 line, -16 lines 0 comments Download
M src/pkg/runtime/proc.c View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/pkg/runtime/runtime.c View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 3
dvyukov
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 10 months ago (2011-07-11 13:02:49 UTC) #1
rsc
LGTM
13 years, 10 months ago (2011-07-12 05:23:45 UTC) #2
rsc
13 years, 10 months ago (2011-07-12 05:24:02 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=8e8bf76720e0 ***

runtime: eliminate false sharing on random number generators
Use machine-local random number generator instead of
racy global ones.

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

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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