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

Issue 254780043: i#1703 cache simulator: ensure tracer atomic pipe writes

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 10 months ago by zhaoqin
Modified:
8 years, 9 months ago
Reviewers:
qin.zhao, bruening
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#1703 cache simulator: ensure tracer atomic pipe writes This CL change tracer pipe write to ensure atomic pipe writes. ---------------

Patch Set 1 #

Total comments: 19

Patch Set 2 : PTAL #

Patch Set 3 : Fixed possible non-atomic pipe write bug #

Total comments: 3

Patch Set 4 : final #

Patch Set 5 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -21 lines) Patch
M clients/drcachesim/common/named_pipe.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M clients/drcachesim/common/named_pipe_unix.cpp View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download
M clients/drcachesim/common/named_pipe_win.cpp View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M clients/drcachesim/tracer/tracer.cpp View 1 2 3 4 4 chunks +43 lines, -21 lines 0 comments Download

Messages

Total messages: 13
zhaoqin
8 years, 10 months ago (2015-07-01 03:36:55 UTC) #1
bruening
Doesn't seem quite correct to me. Grammar problems in commit msg. https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp File clients/drcachesim/tracer/tracer.cpp (right): ...
8 years, 9 months ago (2015-07-01 14:50:31 UTC) #2
zhaoqin
Commit log for latest patchset: --------------- i#1703 cache simulator: split up tracer pipe writes This ...
8 years, 9 months ago (2015-07-01 20:06:19 UTC) #3
zhaoqin
https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp File clients/drcachesim/tracer/tracer.cpp (right): https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp#newcode58 clients/drcachesim/tracer/tracer.cpp:58: // Linux atomic pipe write buffer size On 2015/07/01 ...
8 years, 9 months ago (2015-07-01 20:06:46 UTC) #4
bruening
https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp File clients/drcachesim/tracer/tracer.cpp (right): https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp#newcode172 clients/drcachesim/tracer/tracer.cpp:172: // Write the rest to pipe On 2015/07/01 20:06:46, ...
8 years, 9 months ago (2015-07-01 20:55:55 UTC) #5
zhaoqin
On 2015/07/01 20:55:55, bruening wrote: > https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp > File clients/drcachesim/tracer/tracer.cpp (right): > > https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp#newcode172 > ...
8 years, 9 months ago (2015-07-01 20:58:06 UTC) #6
bruening
https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp File clients/drcachesim/tracer/tracer.cpp (right): https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp#newcode172 clients/drcachesim/tracer/tracer.cpp:172: // Write the rest to pipe On 2015/07/01 20:55:54, ...
8 years, 9 months ago (2015-07-02 17:01:59 UTC) #7
qin.zhao
https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp File clients/drcachesim/tracer/tracer.cpp (right): https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp#newcode172 clients/drcachesim/tracer/tracer.cpp:172: // Write the rest to pipe On 2015/07/02 17:01:59, ...
8 years, 9 months ago (2015-07-04 21:20:56 UTC) #8
bruening
https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp File clients/drcachesim/tracer/tracer.cpp (right): https://codereview.appspot.com/254780043/diff/1/clients/drcachesim/tracer/tracer.cpp#newcode172 clients/drcachesim/tracer/tracer.cpp:172: // Write the rest to pipe On 2015/07/04 21:20:56, ...
8 years, 9 months ago (2015-07-06 17:35:54 UTC) #9
zhaoqin
Commit log for latest patchset: --------------- i#1703 cache simulator: split up tracer pipe writes This ...
8 years, 9 months ago (2015-07-06 19:49:53 UTC) #10
bruening
LGTM https://codereview.appspot.com/254780043/diff/40001/clients/drcachesim/common/named_pipe.h File clients/drcachesim/common/named_pipe.h (right): https://codereview.appspot.com/254780043/diff/40001/clients/drcachesim/common/named_pipe.h#newcode86 clients/drcachesim/common/named_pipe.h:86: size_t atomic_write_size(); Please label as const. Maybe also ...
8 years, 9 months ago (2015-07-07 21:48:56 UTC) #11
zhaoqin
Commit log for latest patchset: --------------- i#1703 cache simulator: split up tracer pipe writes This ...
8 years, 9 months ago (2015-07-07 22:46:26 UTC) #12
zhaoqin
8 years, 9 months ago (2015-07-08 02:16:17 UTC) #13
Committed as
https://github.com/DynamoRIO/dynamorio/commit/9c06b61ff7cc52399900b6f03dd8196...

Final commit log: 
---------------
i#1703 cache simulator: split up tracer pipe writes

This CL splits up tracer pipe writes into multiple writes to
ensure atomic pipe operations.

Review-URL: https://codereview.appspot.com/254780043
---------------
Sign in to reply to this message.

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