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

Issue 1904044: code review 1904044: runtime: add mmap of null page just in case (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 7 months ago by rsc
Modified:
14 years, 5 months ago
Reviewers:
CC:
r, iant, robert.swiecki, rsc1, golang-dev
Visibility:
Public.

Description

runtime: add mmap of null page just in case

Patch Set 1 #

Patch Set 2 : code review 1904044: runtime: add mmap of null page just in case #

Total comments: 1

Patch Set 3 : code review 1904044: runtime: add mmap of null page just in case #

Patch Set 4 : code review 1904044: runtime: add mmap of null page just in case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -14 lines) Patch
M src/pkg/runtime/darwin/386/defs.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/darwin/386/sys.s View 1 chunk +0 lines, -2 lines 0 comments Download
M src/pkg/runtime/darwin/amd64/defs.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/darwin/amd64/sys.s View 1 chunk +0 lines, -2 lines 0 comments Download
M src/pkg/runtime/darwin/defs.c View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/darwin/mem.c View 1 2 2 chunks +20 lines, -1 line 0 comments Download
M src/pkg/runtime/freebsd/386/defs.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/freebsd/386/sys.s View 1 chunk +0 lines, -2 lines 0 comments Download
M src/pkg/runtime/freebsd/amd64/defs.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/freebsd/amd64/sys.s View 1 chunk +0 lines, -2 lines 0 comments Download
M src/pkg/runtime/freebsd/defs.c View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/freebsd/mem.c View 1 2 2 chunks +20 lines, -1 line 0 comments Download
M src/pkg/runtime/linux/386/defs.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/linux/amd64/defs.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/linux/arm/defs.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/linux/defs.c View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/linux/defs2.c View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/linux/defs_arm.c View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/linux/mem.c View 1 2 2 chunks +14 lines, -3 lines 0 comments Download
M src/pkg/runtime/malloc.h View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/malloc.goc View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/nacl/mem.c View 1 chunk +4 lines, -0 lines 0 comments Download
M src/pkg/runtime/tiny/mem.c View 1 chunk +4 lines, -0 lines 0 comments Download
M src/pkg/runtime/windows/mem.c View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 8
rsc
Hello r (cc: golang-dev@googlegroups.com, robert.swiecki@gmail.com), I'd like you to review this change.
14 years, 7 months ago (2010-08-03 08:04:17 UTC) #1
iant
FYI http://codereview.appspot.com/1904044/diff/2001/3003 File src/pkg/runtime/linux/mem.c (right): http://codereview.appspot.com/1904044/diff/2001/3003#newcode50 src/pkg/runtime/linux/mem.c:50: runtime_mmap(nil, 4096, PROT_NONE, MAP_ANON|MAP_PRIVATE, -1, 0); Passing NULL ...
14 years, 7 months ago (2010-08-03 08:34:25 UTC) #2
robert.swiecki
After the fixes it'd be LGTM. Also, I think you might want to use some ...
14 years, 7 months ago (2010-08-03 15:53:19 UTC) #3
rsc1
On 2010/08/03 15:53:19, robert.swiecki wrote: > After the fixes it'd be LGTM. > > Also, ...
14 years, 7 months ago (2010-08-03 20:13:45 UTC) #4
rsc
PTAL I shelved this change and forgot about it. I've added the necessary changes to ...
14 years, 5 months ago (2010-09-28 19:33:13 UTC) #5
r
LGTM
14 years, 5 months ago (2010-09-28 20:21:02 UTC) #6
iant
LGTM
14 years, 5 months ago (2010-09-28 20:25:09 UTC) #7
rsc
14 years, 5 months ago (2010-09-29 00:30:05 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=c55fd283bda6 ***

runtime: add mmap of null page just in case

R=r, iant, robert.swiecki, rsc1
CC=golang-dev
http://codereview.appspot.com/1904044
Sign in to reply to this message.

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