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

Issue 72760043: code review 72760043: runtime: make use of THREAD_SHARE userpsace mutex on freebsd (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by mikio
Modified:
11 years, 3 months ago
Reviewers:
gobot, iant
CC:
golang-codereviews, iant, bradfitz
Visibility:
Public.

Description

runtime: make use of THREAD_SHARE userspace mutex on freebsd For now Note, futexsleep and futexwakeup are designed for threads, not for processes. The explicit use of UMTX_OP_WAIT_UINT_PRIVATE and UMTX_OP_WAKE_PRIVATE can avoid unnecessary traversals of VM objects, to hit undiscovered bugs related to VM system on SMP/SMT/NUMA environment. Update issue 7496

Patch Set 1 : diff -r b238e9cf4c3d https://code.google.com/p/go #

Patch Set 2 : diff -r 227a3d1d33b1 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -11 lines) Patch
M src/pkg/runtime/defs_freebsd.go View 1 chunk +4 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_freebsd_386.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_freebsd_amd64.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_freebsd_arm.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/pkg/runtime/os_freebsd.c View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7
mikio
Hello golang-codereviews@googlegroups.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 3 months ago (2014-03-08 11:00:31 UTC) #1
gobot
R=iant@golang.org (assigned by mikioh.mikioh@gmail.com)
11 years, 3 months ago (2014-03-11 23:38:20 UTC) #2
bradfitz
Typos: userpsace explict syetem And I'd probably write "traversals" instead. On Sat, Mar 8, 2014 ...
11 years, 3 months ago (2014-03-11 23:46:09 UTC) #3
mikio
On Wed, Mar 12, 2014 at 8:46 AM, Brad Fitzpatrick <bradfitz@golang.org> wrote: > Typos: > ...
11 years, 3 months ago (2014-03-12 00:00:21 UTC) #4
iant
LGTM
11 years, 3 months ago (2014-03-12 01:17:00 UTC) #5
mikio
*** Submitted as https://code.google.com/p/go/source/detail?r=19fe312278ac *** runtime: make use of THREAD_SHARE userspace mutex on freebsd For ...
11 years, 3 months ago (2014-03-12 01:33:15 UTC) #6
gobot
11 years, 3 months ago (2014-03-12 02:37:13 UTC) #7
Message was sent while issue was closed.
This CL appears to have broken the linux-amd64-race builder.
Sign in to reply to this message.

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