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

Issue 6094050: code review 6094050: runtime: avoid unnecessary zeroization of huge memory blocks (Closed)

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

Description

runtime: avoid unnecessary zeroization of huge memory blocks +move zeroization out of the heap mutex

Patch Set 1 #

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

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

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

Patch Set 5 : diff -r 69a5c6d983b4 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 6 : diff -r ccd506543e44 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M src/pkg/runtime/malloc.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/malloc.goc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mcentral.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mheap.c View 1 3 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 5
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 11 months ago (2012-04-23 12:41:33 UTC) #1
iant
LGTM but wait for rsc http://codereview.appspot.com/6094050/diff/8001/src/pkg/runtime/mcentral.c File src/pkg/runtime/mcentral.c (right): http://codereview.appspot.com/6094050/diff/8001/src/pkg/runtime/mcentral.c#newcode210 src/pkg/runtime/mcentral.c:210: s = runtime·MHeap_Alloc(&runtime·mheap, npages, ...
12 years, 11 months ago (2012-05-02 00:25:53 UTC) #2
rsc
LGTM
12 years, 11 months ago (2012-05-02 01:26:38 UTC) #3
dvyukov
On 2012/05/02 00:25:53, iant wrote: > LGTM but wait for rsc > > http://codereview.appspot.com/6094050/diff/8001/src/pkg/runtime/mcentral.c > ...
12 years, 11 months ago (2012-05-02 13:55:13 UTC) #4
dvyukov
12 years, 11 months ago (2012-05-02 14:01:33 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=deddee9ec796 ***

runtime: avoid unnecessary zeroization of huge memory blocks
+move zeroization out of the heap mutex

R=golang-dev, iant, rsc
CC=golang-dev
http://codereview.appspot.com/6094050
Sign in to reply to this message.

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